LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-19-2023, 05:17 AM   #1
medictruck
Member
 
Registered: Nov 2017
Location: Kathmandu, Nepal
Distribution: Slackware
Posts: 49

Rep: Reputation: 53
How to build Mozart Programming System v2 on Slackware 15?


Hello guys,

I wanted to fiddle around with Oz programming language as part of a course and was wondering what is the proper way to build it on Slackware 15. Although build instructions are given, but I was wondering if there is more correct way to install it.
I want to install this: https://github.com/mozart/mozart2#downloads

Regards,
 
Old 12-19-2023, 06:06 AM   #2
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,833
Blog Entries: 17

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
This perhaps?
https://docs.slackware.com/howtos:sl...ding_a_package

The advantage being that you can easily install and remove it, with installpkg and removepkg..

Into /home/user/test..

Last edited by zeebra; 12-19-2023 at 06:09 AM.
 
Old 12-19-2023, 10:57 AM   #3
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,215

Rep: Reputation: 298Reputation: 298Reputation: 298
Quote:
Originally Posted by medictruck View Post
Hello guys,

I wanted to fiddle around with Oz programming language as part of a course and was wondering what is the proper way to build it on Slackware 15. Although build instructions are given, but I was wondering if there is more correct way to install it.
I want to install this: https://github.com/mozart/mozart2#downloads

Regards,
Quickly looking at it you should have everything set up on a full slackware install. So would be just a matter of untar, cmake and then install.
 
Old 12-20-2023, 09:49 AM   #4
medictruck
Member
 
Registered: Nov 2017
Location: Kathmandu, Nepal
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by zeebra View Post
This perhaps?
https://docs.slackware.com/howtos:sl...ding_a_package

The advantage being that you can easily install and remove it, with installpkg and removepkg..

Into /home/user/test..
I checked the same. But, I haven't build ever myself from source writing slackbuild scripts myself. So, I am following the instructions given on that website.
 
Old 12-20-2023, 09:50 AM   #5
medictruck
Member
 
Registered: Nov 2017
Location: Kathmandu, Nepal
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by saxa View Post
Quickly looking at it you should have everything set up on a full slackware install. So would be just a matter of untar, cmake and then install.

Apparently, I am stuck on this:

Code:
CMake Error at /usr/lib64/cmake/Boost-1.78.0/BoostConfig.cmake:141 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/boost_program_options-1.78.0/boost_program_options-config.cmake

  but it set boost_program_options_FOUND to FALSE so package
  "boost_program_options" is considered to be NOT FOUND.  Reason given by
  package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_program_options.so.1.78.0 (shared, Boost_USE_STATIC_LIBS=ON)

Call Stack (most recent call first):
  /usr/lib64/cmake/Boost-1.78.0/BoostConfig.cmake:262 (boost_find_component)
  /usr/share/cmake-3.21/Modules/FindBoost.cmake:594 (find_package)
  boosthost/emulator/CMakeLists.txt:22 (find_package)
 
Old 12-21-2023, 12:35 PM   #6
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,215

Rep: Reputation: 298Reputation: 298Reputation: 298
Seems you have not the right libboost. You should try to see cmake -L to see the options you have in configuration or give it the libboost it wants.
 
1 members found this post helpful.
Old 12-21-2023, 12:42 PM   #7
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,215

Rep: Reputation: 298Reputation: 298Reputation: 298
You can try to use cmake -DMOZART_BOOST_USE_STATIC_LIBS=OFF
 
2 members found this post helpful.
Old 12-21-2023, 11:16 PM   #8
medictruck
Member
 
Registered: Nov 2017
Location: Kathmandu, Nepal
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 53
Hi.

It was the boost thing. I turned the static libs off and it worked well. The package build fine. For now, I must be happy that the package is working. I would like to learn to build the slackbuild way too. But, that's I will start with something very simple first.

Thank you.
 
1 members found this post helpful.
Old 12-23-2023, 08:17 PM   #9
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,215

Rep: Reputation: 298Reputation: 298Reputation: 298
Nice to hear it worked out.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing Mozart at random. stf92 General 5 08-27-2017 12:19 PM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM
looking for mozart guitar tab nadroj General 9 01-18-2007 02:54 PM
LXer: Mozart was a hacker LXer Syndicated Linux News 0 01-28-2006 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration