[Slackbuilds-users] portmidi on -current?

Matteo Bernardini matteo.bernardini at gmail.com
Thu Aug 2 03:46:11 UTC 2012


2012/8/2 Josiah Boothby <josiahb at gmail.com>:
> I was trying to build PortMidi on slackware64-current (both with and
> without multilib packages, if that matters), but get the following
> error near the end of the build. Any suggestions to get it to build?
>
> ##### snip
>
> Scanning dependencies of target pmdefaults_target
> [ 93%] Generating pmdefaults/PmDefaults.class
> /bin/sh: line 0: cd: /tmp/SBo/portmidi/pm_java/pm_java: No such file or
> directory Scanning dependencies of target pmdefaults_target
> [ 93%] Generating pmdefaults/PmDefaults.class
> /bin/sh: line 0: cd: /tmp/SBo/portmidi/pm_java/pm_java: No such file or
> directory make[2]: *** [pm_java/pmdefaults/PmDefaults.class] Error 1
> make[1]: *** [pm_java/CMakeFiles/pmdefaults_target.dir/all] Error 2
> make: *** [all] Error 2
>
> make[2]: *** [pm_java/pmdefaults/PmDefaults.class] Error 1
> make[1]: *** [pm_java/CMakeFiles/pmdefaults_target.dir/all] Error 2
> make: *** [all] Error 2

seems for some reason a path is wrong generated during the cmake run:
I got the same behaviour here (BTW, I'm using openjdk), fixed it
roughly doing this after the cmake (and before the make)

sed -i "s|pm_java/pm_java|pm_java|"
pm_java/CMakeFiles/pmdefaults_target.dir/build.make


More information about the SlackBuilds-users mailing list