LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-27-2009, 11:50 AM   #1
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Building dev packages?


I'm a little confused and I was hoping you guys could fill me in please. I'm building LMMS, and for that it says that libfftw3-dev and libfluidsynth-dev are highly recommended. Well I can get the source for both of those and build them if I wanted to, but how would I go about building a dev package? Do you pass a special argument to make or something? Is there a different source I need (looked and can't find 'em)?

linuxpackages.net does not have the packages I need, I can only find them in .deb and .rpm, and I use Slack so that's a problem for me. Somebody help please?
 
Old 06-27-2009, 01:48 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
I should probably leave for a Slacker to answer, but does Slackware split packages into user and dev? If you install the fftw slackbuild, I think that installs all the files including the headers and other files needed for development. Those packages that are appended with -dev are for binary distributions like Ubuntu and Fedora. If you've got fftw installed, see if you have fftw3.h and fftw3l.pc installed. Those are the "-dev" files.
 
Old 06-27-2009, 03:46 PM   #3
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
Thank you weibullguy!

OK well I grabbed packages for fftw3 and fluidsynth from linuxpackages.net
After installing both, I ran cmake for LMMS again and this time fluidsynth was found but not fftw3....nor was libsamplerate. Now I know samplerate.h and samplerate.pc exist but it does not detect it for some reason. I noticed that fftw3.pc was not installed, but the header file was. I tried grabbing fftw3.pc from the source and throwing it in the pkg-config directory, but that didn't work. Anyone know how I can get it to find samplerate and fftw3?

Last edited by voyciz; 06-27-2009 at 03:48 PM. Reason: Forgot something
 
Old 06-27-2009, 04:39 PM   #4
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
Blech. I'm giving up on trying to get LMMS built. I ran make and it gets to around 65% done and then it exits spitting out errors from libsndfile. I'm gonna have to use Windows for those sorts of things I guess.
 
Old 06-27-2009, 04:47 PM   #5
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by Aborted Fetus View Post
Blech. I'm giving up on trying to get LMMS built. I ran make and it gets to around 65% done and then it exits spitting out errors from libsndfile. I'm gonna have to use Windows for those sorts of things I guess.
Someone's already done the hard work for you.

The most comfortable way I've found of building software on Slackware is to use SlackBuilds. There's a repository of these SlackBuilds at http://slackbuilds.org, including one for LMMS and all its dependencies (listed on the lmms SlackBuilds.org page). Grab those, read the slackwiki.org article on what to do with them, then you're good to go.
 
Old 06-27-2009, 05:21 PM   #6
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
Thanks a lot pwc101. I got the lmms, libsamplerate, and fftw slackbuilds. When I get some time (tomorrow probably) I will see how that goes. If that goes well, then all I have to worry about is my hardware not being too sluggish to run it, heh.
 
Old 06-27-2009, 05:54 PM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
I generally go straight to SlackBuilds.org if I want to install a piece of software that's not already part of Slackware; 9 times out of 10, someone else has already written a script for it. If they haven't, and I have the time, I'll write one myself - they're not that hard to do.

Another useful piece of software is sbopkg (http://www.sbopkg.org). It's a front end for the SlackBuilds.org repository. This allows you to search for any build scripts from the SlackBuilds repository, queue them, and then build a load all at once, which takes some of the effort out of building lots of packages.

These two things (SlackBuilds.org and sbpkg) have significantly reduced the amount of work it takes to build extra software for Slackware.
 
Old 06-27-2009, 06:07 PM   #8
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
I knew a Slacker would have the answer.
 
Old 06-28-2009, 06:25 PM   #9
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Original Poster
Rep: Reputation: 40
And....it works! Had to also rebuild libsndfile. Thanks man, helped a lot. I'll make sure I remember that site.
 
  


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
Building packages JosephS Slackware 5 06-11-2009 05:01 PM
Need information on re-building packages from source PeteRossi Slackware - Installation 1 05-22-2007 06:16 PM
Building Slackware packages web_spy_der Slackware - Installation 3 09-07-2006 09:10 AM
properly building slackware packages blazemonger Slackware 1 05-11-2006 08:44 AM
Building your own slackware packages CrEsPo Slackware 19 06-07-2005 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:37 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