LinuxQuestions.org
Review your favorite Linux distribution.
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 04-19-2014, 12:56 PM   #1
nigat
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Rep: Reputation: Disabled
Problem installing portmidi salckbuild on 14.1


I've tried to install portmidi package , but i get error:
Quote:
^
[ 76%] Building C object pm_dylib/CMakeFiles/portmidi-dynamic.dir/__/pm_linux/pmlinux.c.o
[ 80%] Building C object pm_dylib/CMakeFiles/portmidi-dynamic.dir/__/pm_linux/finddefault.c.o
[ 83%] Building C object pm_dylib/CMakeFiles/portmidi-dynamic.dir/__/porttime/ptlinux.c.o
[ 86%] Building C object pm_dylib/CMakeFiles/portmidi-dynamic.dir/__/pm_common/pmutil.c.o
[ 90%] Building C object pm_dylib/CMakeFiles/portmidi-dynamic.dir/__/pm_common/portmidi.c.o
Linking C shared library ../Release/libportmidi.so
[ 90%] Built target portmidi-dynamic
Scanning dependencies of target pmdefaults_target
[ 93%] Generating pmdefaults/PmDefaults.class
/bin/sh: javac: command not found
make[2]: *** [pm_java/pmdefaults/PmDefaults.class] Error 127
make[1]: *** [pm_java/CMakeFiles/pmdefaults_target.dir/all] Error 2
make: *** [all] Error 2
If anyone could help .. i'll appreciate.
I think i installed the jdk dependencies

Last edited by nigat; 04-19-2014 at 01:01 PM.
 
Old 04-19-2014, 01:03 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Code:
/bin/sh: javac: command not found
Looks like you need the java JDK:
http://slackbuilds.org/repository/14.1/development/jdk/
The jdk on the SlackBuild page is outdated, download a newer one from the Oracle website.

Last edited by brianL; 04-19-2014 at 01:23 PM.
 
Old 04-19-2014, 01:23 PM   #3
nigat
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Ok,I saw the error ,but I've installed the jdk packet with no errors,and i'm confused what could be the problem,only changed the version of jdk from :7u51 to 7u55 in the slackbuild

Last edited by nigat; 04-19-2014 at 01:25 PM.
 
Old 04-19-2014, 01:27 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Mmm, I'm confused too, now. That's the only error that stands out.
 
Old 04-19-2014, 01:45 PM   #5
nigat
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
May be I should install java from the source disk /extra dir !?!
 
Old 04-19-2014, 01:49 PM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Yeah, you could do. Or maybe the OpenJDK would work, Alien Bob has ready-made packages for it:
http://www.slackware.com/~alien/slackbuilds/openjdk/
 
1 members found this post helpful.
Old 04-19-2014, 01:55 PM   #7
nigat
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Worked like charm,thanks a lot brianL
 
  


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
Anyone successfully add portmidi to doom source ports that only use sdl_mixer midi? Holering Programming 0 06-13-2013 04:44 AM
[SOLVED] cannot compile hydrogen from slackbuilds - missing portmidi.h trumpet_tom Slackware 10 10-02-2010 05:15 PM
Installing Simplescalar: Problem installing simpleutils yy_current_buffer’ undeclared niteshg Linux - Software 1 07-03-2009 04:09 PM
Problem Installing Limewire - Received Errors While Installing taurusx5 Linux - Software 2 08-05-2008 02:39 AM
Installing Red5 - Problem @ Installing fedora-rpmdevtools Aziz Linux - Software 2 11-04-2006 02:57 PM

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

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