Le Sun, 11 Nov 2012 16:30:43 +0100,
Kjetil Matheussen a écrit :> Florian Paul Schmidt mista.tapas at gmx.net
Thank you, it work fine now.
However, I found 2 minor issues. I am making an ebuild to install it,
and found 2 minor issues. At the beginning of Makefile.Qt, it is
libdir = $(prefix)/lib
but on my multilib system, ${libdir} is /usr/lib64
libdir ?= $(prefix)/lib
must be right to be able to manage $libdir in a multilib system.
The second issue is, after installing radium with portage, I get an
executable in /usr/bin/radium, and when I run it, I get:
/usr/bin/radium: ligne 2 :
cd: /var/tmp/portage/media-sound/radium-1.9.1/image//usr/lib64/radium:
Aucun fichier ou dossier de ce type
/usr/bin/radium: ligne3: ./radium: Aucun fichier ou dossier de ce type
In English: No file or directory of this type.
After changing this line into
cd /usr/lib64/radium
radium is working fine.
In the ebuild, the make packages line look like:
emake DESTDIR="${D}" PREFIX="/usr" libdir="/usr/$(get_libdir)"
BUILDTYPE="RELEASE" OPTIMIZE="${CXXFLAGS}" packages
${D} is the root of the sandbox where portage will build radium.
$(get_libdir) will echo lib64 in my case.
${CXXFLAGS} are the main CXXFLAGS for the system as defined
in /etc/make.conf on gentoo. They are safe flags that should work in
any cases.
The make install line look the same:
emake libdir="/usr/$(get_libdir)" DESTDIR="${D}" PREFIX="/usr" install
Dominique
>
--
"We have the heroes we deserve."
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.