LinuxQuestions.org
Help answer threads with 0 replies.
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 09-29-2010, 09:52 AM   #1
trumpet_tom
Member
 
Registered: Dec 2004
Distribution: Slackware64-current
Posts: 95

Rep: Reputation: 19
cannot compile hydrogen from slackbuilds - missing portmidi.h


Hi, I'm trying to compile hydrogen using sbopkg. I have all the dependencies listed on slackbuilds.org, including portmidi. However when I try to compile hydrogen I get this error

Code:
Checking for C header file portmidi.h... no
I have looked at the contents of the portmidi package and there is no header file. Has anyone got this build to work some other way?

Thanks,
Tom
 
Old 09-29-2010, 05:08 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Which version slackware are you using? I recall this problem in the past but it was fixed.

Nevermind - just read your distro as 64 current. I will have a look into it, but remember that -current generally isn't supported by sbo.

Last edited by dive; 09-29-2010 at 05:10 PM.
 
Old 09-29-2010, 05:51 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
OK I've just built on 13.1 x86_64 and it worked. These are the deps that I had installed:

/var/log/packages/portaudio-V19-x86_64-1_SBo
/var/log/packages/portmidi-200-x86_64-1_SBo
/var/log/packages/jack-audio-connection-kit-0.118.0-x86_64-1_SBo
/var/log/packages/liblrdf-0.4.0-x86_64-2_SBo
/var/log/packages/scons-1.2.0-x86_64-2_SBo
/var/log/packages/ladspa_sdk-1.13-x86_64-3_SBo
/var/log/packages/libsndfile-1.0.20-x86_64-1_SBo
/var/log/packages/lash-0.6.0.594-x86_64-1_SBo

Have a check that you have all those with same versions, except maybe scons doesn't matter.

I can't check on -current but it ought to build with those.
 
Old 09-29-2010, 07:23 PM   #4
trumpet_tom
Member
 
Registered: Dec 2004
Distribution: Slackware64-current
Posts: 95

Original Poster
Rep: Reputation: 19
Thanks for your replies. I just checked what packages I have installed. All of the ones you mentioned are there. Any ideas?
 
Old 09-29-2010, 07:57 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
What is the output of

ls /usr/include/port*
 
Old 09-29-2010, 08:51 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Can you try out this slackbuild for portmidi? I've added some manual install lines there for the includes files:

http://dawoodfall.net/sources/portmidi.SlackBuild

You should be able to see from the makepkg output whether it's installed the .h to /usr/include or not.

You may still have problem with portaudio.h but let me know how it goes.

Last edited by dive; 09-29-2010 at 08:52 PM.
 
1 members found this post helpful.
Old 09-29-2010, 11:14 PM   #7
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
If you became really pissed and midi is not a must, you can try building it with 'portmidi=0'.
 
Old 09-30-2010, 04:20 AM   #8
trumpet_tom
Member
 
Registered: Dec 2004
Distribution: Slackware64-current
Posts: 95

Original Poster
Rep: Reputation: 19
There was no portmidi.h file in /usr/include when I looked. I just built a new portmidi package using the slackbuild you supplied and now the header file is in there. I'm currently compiling hydrogen - it seems to be working so far!
 
Old 09-30-2010, 04:38 AM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
ok if it all goes well I'll submit that as an update.
 
Old 09-30-2010, 04:41 AM   #10
trumpet_tom
Member
 
Registered: Dec 2004
Distribution: Slackware64-current
Posts: 95

Original Poster
Rep: Reputation: 19
hydrogen just successfully compiled, thanks. Now onto my next problems - getting jack running in realtime as a non-root user, and getting qjackctl to compile from slackbuild! I'll start a new thread..
 
Old 10-02-2010, 05:15 PM   #11
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Just bumping this up to note that I've now tested the original slackbuild on -current and it installs the includes fine. (There was another problem though that I've fixed for x86_64 so there will be an update.)

I think there must be something wrong in OP's system as to why the includes don't install.
 
  


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
Can't Compile SlackBuilds.org TightVNC Woodsman Slackware 7 08-22-2008 09:39 PM
Can't Compile SlackBuilds.org TightVNC Woodsman Slackware 2 08-22-2008 08:26 AM
Hydrogen compile on mdk 10.1 buzz3953 Linux - Software 4 04-19-2005 03:41 PM

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

All times are GMT -5. The time now is 01:51 AM.

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