sebt3 said:
So what's your PKG_CONFIG_PATH ?
Code:
stefanos@lapp:~/Pandora/audacious$ echo $PKG_CONFIG_PATH
/mnt/utmp/audacious/lib/pkgconfig:/home/stefanos/Documents/pandora/SDK/arm-angstrom-linux-gnueabi/usr/lib/pkgconfig
sebt3 said:
$PND_BASEDIR/$PRJ/lib/pkgconfig/libmowgli.pc exist ? and provide the righ path ?
Code:
stefanos@lapp:~/Pandora/audacious/libmcs-0.7.2$ ls $PND_BASEDIR/$PRJ/lib/pkgconfig/libmowgli.pc
/home/stefanos/Documents/pandora/SDK/mnt/audacious/lib/pkgconfig/libmowgli.pc
stefanos@lapp:~/Pandora/audacious/libmcs-0.7.2$ cat $PND_BASEDIR/$PRJ/lib/pkgconfig/libmowgli.pc
prefix=/home/stefanos/Documents/pandora/SDK/mnt/audacious
exec_prefix=${prefix}
datarootdir=${prefix}/share
data_dir=${datarootdir}/libmowgli
version=0.7.1
include_dir=${prefix}/include/libmowgli
lib_dir=${exec_prefix}/lib
Name: libmowgli
Description: A library which contains many utility functions and classes.
Version: 0.7.1
Libs: -L${lib_dir} -lmowgli
Cflags: -I${include_dir}
sebt3 said:
What does "pkg-config --libs libmowgli" say ?
Code:
stefanos@lappy:~/Pandora/audacious/libmcs-0.7.2$ pkg-config --libs libmowgli
Package libmowgli was not found in the pkg-config search path.
Perhaps you should add the directory containing `libmowgli.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libmowgli' found
libmowgli.pc is indeed not copied into PKG_CONFIG_PATH. I manually copied it there and compilation of libmcs completed normally. Then, during compilation of audacious I get the following:
Code:
checking for MOWGLI... yes
checking for LIBMCS... no
configure: error:
Cannot find libmcs! If you are using binary packages based system, check that you
have the corresponding -dev/devel packages installed.
Same story: manually copied libmcs.pc into PKG_CONFIG_PATH and tried again. Now audacious compiles fine, but gives the warning:
Code:
**
** NOTICE! Configure has discovered that you already have Audacious installed
** and it does not match with the given --prefix. You have Audacious installed
** in /usr/bin and you chose /home/stefanos/Documents/pandora/SDK/mnt/audacious/bin.
**
** If you don't want two copies of Audacious installed, rerun configure with
** the --prefix option set to the location of the old Audacious, or uninstall
** the old Audacious.
**
I guess this is normal though. It would be nice if the .pc files are copied automatically in the right directory.
Then, after installing audacious, I tried genpxml. I get the following error:
Code:
stefanos@lapp:~/Pandora/audacious/audacious-2.4.3$ genpxml
/mnt/utmp/audacious don't exist
/home/stefanos/Documents/pandora/SDK/scripts/genpxml [args] :
-s|--src <src dir> : Define source directory (default: /home/stefanos/Pandora/audacious/audacious-2.4.3)
-n|--name <name> : Define the pnd base name (default: audacious)
-d|--dest <dest dir> : Define destination directory (default: /mnt/utmp/audacious)
-a|--author <name> : programmers names (default: stefanos)
-v|--version <version> : Define the version (default: 2.4.3)
-w|--website <url> : Define the url (default: http://www.openpandora.org/)
-b|--build <build id> : Define the build number (default: 1)
-f|--force : overide PXML.xml file if found
-h|--help : show this screen
so then I tried "genpxml -d /home/stefanos/Documents/pandora/SDK/mnt/audacious/" and it worked. Finally, I run pndmakeauto and a nice audacious.pnd appeared in my 'PNDs' folder! genpxml was probably smart enough to find the icon by itself.
Thanks for the help sebt3! I'm glad I managed to make this work. Now I can start trying to port stuff
If I am allowed to make a request, I would have liked it if the steps I had to do manually were automated somehow. Maybe I can look into it, but my impression is that it is probably a very easy edit for the people who maintain the toolchain.
Thanks again for all the work you've put into this.