logo       

Re: New package My Media System: msg#00023

t2.devel

Subject: Re: New package My Media System


gx-turbo wrote:
Hi there,

t2-7.0-rc2 on Xubuntu 8.04.
I built a target successfully, based on generic target, minimum desktop.
Now I want to add a new package ( http://mymediasystem.org/
http://mymediasystem.org/ )
I made a minimum mms.desc with some --options and started optimistically. Build stops at configure phase, complaining about missing imlib2, although
imlib2 is successfully built.

Configure script checks for imlib2 with this code:
cat > test.c << EOF
#define X_DISPLAY_MISSING
#include <Imlib2.h>
int main( void ) { return (int) imlib_load_font("foo"); }
EOF
imlib2=no
if gcc -o test.o test.c -lImlib2 -lm > /dev/null 2>&1 ; then
imlib2=yes
rm test.o
fi
rm test.c
if test $imlib2 = "no" ; then
die "Please install imlib2!"
fi

In the native Xubuntu environment, compilation from the same tarball works
fine.

Can somebody help ?
There configure might be imperfect and not correctly check for
the imlib2 prefix, by default we install it into /opt/e17 - the configure
script might not locate it correctly.

Maybe the configure script has a --with-imlib...= argument to help
it find it :-) (though a good one should find it via pkg-config or so
anyway).

--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
lists@xxxxxxxxxxxxxx with a subject of: unsubscribe t2



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise