Re: [E-devel] libe.so and e_utils--- where can I get libe.so?
add the path to libe into /etc/ld.so.conf On Mon, 7 Mar 2005 15:31:14 +0800, Didier Casse [EMAIL PROTECTED] wrote: On Sun, 06 Mar 2005 21:53:04 -0500, Jason Williams [EMAIL PROTECTED] wrote: On Mon, 2005-03-07 at 10:38 +0800, Didier Casse wrote: Hello, I just happened to compile e_utils and it gave me some compilation errors (see below), where it apparently looks for the file libe.so file. Googling around this lead me to libe-devel. But I couldn't get a Fedora Core (FC) rpm for it and google lead me to: http://www.theether.org/libe/ where compiling the tarball only provided me with: /usr/include/e/barrier.h /usr/include/e/bitmask.h /usr/include/e/bytes.h /usr/include/e/cpa.h /usr/include/e/e_error.h /usr/include/e/hash.h /usr/include/e/io.h /usr/include/e/net.h /usr/include/e/safe.h /usr/include/e/token_array.h /usr/include/e/tree.h /usr/include/e/xmalloc.h /usr/lib/libe.a and no libe.so. Does anybody know how I can obtain libe-devel for FC? Or a tarball that would lead to it? Thanks. [SNIP] This is something I haven't quite completely figured out, but have found a hack around. libe.so should be included in the enlightenment DR17 window manager. But you only get libe.so.0 libe.so.0.0.0 Creating a symlink in /usr/lib (or your lib dir of choice) in the manner of ln -s libe.so.0.0.0 libe.so will help, but I know there is a slightly deaper issue here. Thanks for the hack tip. I think for now it would do, but what about in the long run? I would also have the opinion from a developer's point of view. Should we hack or not? -- With kind regards, Didier. --- Didier F.B Casse | PhD candidate | Singapore Synchrotron light Source (SSLS) Email: didier.casse AT_Remove_THE_N00SPAM gmail DOT com | Web: http://ssls.nus.edu.sg --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] libe.so and e_utils--- where can I get libe.so?
Thanks for the reply... but I was only enquiring about the effects of linking libe.so.000 to libe.so in the long run. For now the hack works marvelously and I have e_utils already installed. -- With kind regards, Didier. --- Didier F.B Casse | PhD candidate | Singapore Synchrotron light Source (SSLS) Email: didier.casse AT_Remove_THE_N00SPAM gmail DOT com | Web: http://ssls.nus.edu.sg On Mon, 7 Mar 2005 11:30:34 +0200, Hisham Mardam Bey [EMAIL PROTECTED] wrote: add the path to libe into /etc/ld.so.conf On Mon, 7 Mar 2005 15:31:14 +0800, Didier Casse [EMAIL PROTECTED] wrote: On Sun, 06 Mar 2005 21:53:04 -0500, Jason Williams [EMAIL PROTECTED] wrote: On Mon, 2005-03-07 at 10:38 +0800, Didier Casse wrote: Hello, I just happened to compile e_utils and it gave me some compilation errors (see below), where it apparently looks for the file libe.so file. Googling around this lead me to libe-devel. But I couldn't get a Fedora Core (FC) rpm for it and google lead me to: http://www.theether.org/libe/ where compiling the tarball only provided me with: /usr/include/e/barrier.h /usr/include/e/bitmask.h /usr/include/e/bytes.h /usr/include/e/cpa.h /usr/include/e/e_error.h /usr/include/e/hash.h /usr/include/e/io.h /usr/include/e/net.h /usr/include/e/safe.h /usr/include/e/token_array.h /usr/include/e/tree.h /usr/include/e/xmalloc.h /usr/lib/libe.a and no libe.so. Does anybody know how I can obtain libe-devel for FC? Or a tarball that would lead to it? Thanks. [SNIP] This is something I haven't quite completely figured out, but have found a hack around. libe.so should be included in the enlightenment DR17 window manager. But you only get libe.so.0 libe.so.0.0.0 Creating a symlink in /usr/lib (or your lib dir of choice) in the manner of ln -s libe.so.0.0.0 libe.so will help, but I know there is a slightly deaper issue here. Thanks for the hack tip. I think for now it would do, but what about in the long run? I would also have the opinion from a developer's point of view. Should we hack or not? -- With kind regards, Didier. --- Didier F.B Casse | PhD candidate | Singapore Synchrotron light Source (SSLS) Email: didier.casse AT_Remove_THE_N00SPAM gmail DOT com | Web: http://ssls.nus.edu.sg --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] New entrance configure.in and small fixes in src/client/
thanks, i'll try to tend to this if xcomp doesn't beat me to it. * Michel Briand ([EMAIL PROTECTED]) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Ibukun please chech these files: configure.in: correct EFL check against *-config files main.c: correct evas check for GL renderer entrance_session.c: fix a segfault when DISPLAY=(null) With kind regards, Michel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCKENWMSWL0LSvaHgRAiDiAJ9v0wdUOvJXsSFQgd6f7kqk3L/gMwCgr6nS 8ymbLCMQTON1VzU0aDrv1O0= =y+GK -END PGP SIGNATURE- ? configure.in.pc ? patch Index: configure.in === RCS file: /cvsroot/enlightenment/e17/apps/entrance/configure.in,v retrieving revision 1.39 diff -r1.39 configure.in 44,67c44,51 AC_ARG_WITH(edb, [ --with-edb=DIRuse edb in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) AC_ARG_WITH(evas, [ --with-evas=DIR use evas in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) AC_ARG_WITH(ecore, [ --with-ecore=DIR use ecore in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) AC_ARG_WITH(edje, [ --with-edje=DIR use edje in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) AC_PATH_GENERIC(edb, 1.0.3, [ AC_SUBST(edb_libs) AC_SUBST(edb_cflags) ], AC_MSG_ERROR(Cannot find edb: Is edb-config in path?)) edb_libs=`edb-config --libs` edb_cflags=`edb-config --cflags` AC_SUBST(edb_libs) --- # EFL configuration AC_ARG_WITH(edb-config, [ --with-edb-config=EDB_CONFIG use edb-config specified ], [ EDB_CONFIG=$withval; echo using $EDB_CONFIG for edb-config; ], [ PROG=edb-config; AC_PATH_PROG(EDB_CONFIG, $PROG, , $PATH)] ) edb_cflags=`$EDB_CONFIG --cflags` edb_libs=`$EDB_CONFIG --libs` 69,77c53,69 AC_PATH_GENERIC(evas, 1.0.0, [ AC_SUBST(evas_libs) AC_SUBST(evas_cflags) ], AC_MSG_ERROR(Cannot find evas: Is evas-config in path?)) evas_libs=`evas-config --libs` evas_cflags=`evas-config --cflags` AC_SUBST(evas_libs) --- AC_SUBST(edb_libs) AC_ARG_WITH(eet-config, [ --with-eet-config=EET_CONFIG use eet-config specified ], [ EET_CONFIG=$withval; echo using $EET_CONFIG for eet-config; ], [ PROG=eet-config; AC_PATH_PROG(EET_CONFIG, $PROG, , $PATH)] ) eet_cflags=`$EET_CONFIG --cflags` eet_libs=`$EET_CONFIG --libs` AC_SUBST(eet_cflags) AC_SUBST(eet_libs) AC_ARG_WITH(evas-config, [ --with-evas-config=EVAS_CONFIG use evas-config specified ], [ EVAS_CONFIG=$withval; echo using $EVAS_CONFIG for evas-config;], [ PROG=evas-config; AC_PATH_PROG(EVAS_CONFIG, $PROG, , $PATH) ] ) evas_cflags=`$EVAS_CONFIG --cflags` evas_libs=`$EVAS_CONFIG --libs` 79,115c71,78 have_ecore=no AC_CHECK_HEADER(Ecore.h,, AC_MSG_ERROR([Ecore.h not found! Have you installed Ecore?])) AC_CHECK_LIB(ecore, ecore_list_new, [have_ecore=yes], AC_MSG_ERROR([Ecore check failed! Make sure you have the latest version of Ecore installed.])) have_ecore_evas=no AC_CHECK_HEADER(Ecore_Evas.h,, AC_MSG_ERROR([Ecore_Evas.h not found! Did you compile Ecore with Evas support?])) AC_CHECK_LIB(ecore_evas, ecore_evas_init, [ have_ecore_evas=yes], AC_MSG_ERROR([Cannot find Ecore_Evas!])) have_ecore_software_x11=no AC_CHECK_LIB(ecore_evas, ecore_evas_software_x11_new, [ have_ecore_software_x11=yes], AC_MSG_ERROR([Ecore_Evas does not have Software/X11 support!])) have_ecore_gl_x11=no AC_CHECK_LIB(ecore_evas, ecore_evas_gl_x11_new, [ have_ecore_gl_x11=yes AC_DEFINE(HAVE_ECORE_GL_X11, 1, [OpenGL support])]) have_ecore_ipc=no AC_CHECK_HEADER(Ecore_Ipc.h,, AC_MSG_ERROR([Ecore_Ipc.h not found! Did you compile Ecore with IPC support?])) AC_CHECK_LIB(ecore_ipc, ecore_ipc_init, [ have_ecore_ipc=yes], AC_MSG_ERROR([Cannot find Ecore_Ipc!])) ecore_cflags=`ecore-config --cflags` ecore_libs=`ecore-config --libs` AC_SUBST(ecore_libs) --- AC_SUBST(evas_libs) AC_ARG_WITH(ecore-config, [ --with-ecore-config=ECORE_CONFIG use ecore-config specified ], [ ECORE_CONFIG=$withval; echo using $ECORE_CONFIG for ecore-config; ], [ PROG=ecore-config; AC_PATH_PROG(ECORE_CONFIG, $PROG, , $PATH) ] ) ecore_cflags=`$ECORE_CONFIG --cflags` ecore_libs=`$ECORE_CONFIG --libs` 117,124c80,87 AC_PATH_GENERIC(edje, 0.5.0, [ AC_SUBST(edje_libs) AC_SUBST(edje_cflags) ], AC_MSG_ERROR(Cannot find edje: Is edje-config in path?)) edje_libs=`edje-config --libs` edje_cflags=`edje-config --cflags` AC_SUBST(edje_libs) --- AC_SUBST(ecore_libs)
Re: [E-devel] New entrance configure.in and small fixes in src/client/
Michel, Thanks for the patch. It looks good, except for the configure.in fix. The manual checks for headers were done for a reason - I did not want to link entrance with other ecore libraries unless it actually required them (namely ecore_job, ecore_fb and ecore_config at this point). The current method works as it is -- I'd rather keep it that way. I'll see about putting this in tonight. Ibukun On Mon 07 Mar 2005, Corey Donohoe wrote: thanks, i'll try to tend to this if xcomp doesn't beat me to it. * Michel Briand ([EMAIL PROTECTED]) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Ibukun please chech these files: configure.in: correct EFL check against *-config files main.c: correct evas check for GL renderer entrance_session.c: fix a segfault when DISPLAY=(null) With kind regards, Michel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCKENWMSWL0LSvaHgRAiDiAJ9v0wdUOvJXsSFQgd6f7kqk3L/gMwCgr6nS 8ymbLCMQTON1VzU0aDrv1O0= =y+GK -END PGP SIGNATURE- ? configure.in.pc ? patch Index: configure.in === RCS file: /cvsroot/enlightenment/e17/apps/entrance/configure.in,v retrieving revision 1.39 diff -r1.39 configure.in 44,67c44,51 AC_ARG_WITH(edb, [ --with-edb=DIRuse edb in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) AC_ARG_WITH(evas, [ --with-evas=DIR use evas in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) AC_ARG_WITH(ecore, [ --with-ecore=DIR use ecore in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) AC_ARG_WITH(edje, [ --with-edje=DIR use edje in DIR], [ CFLAGS=$CFLAGS -I$withval/include LIBS=-L$withval/lib $LIBS]) AC_PATH_GENERIC(edb, 1.0.3, [ AC_SUBST(edb_libs) AC_SUBST(edb_cflags) ], AC_MSG_ERROR(Cannot find edb: Is edb-config in path?)) edb_libs=`edb-config --libs` edb_cflags=`edb-config --cflags` AC_SUBST(edb_libs) --- # EFL configuration AC_ARG_WITH(edb-config, [ --with-edb-config=EDB_CONFIG use edb-config specified ], [ EDB_CONFIG=$withval; echo using $EDB_CONFIG for edb-config; ], [ PROG=edb-config; AC_PATH_PROG(EDB_CONFIG, $PROG, , $PATH)] ) edb_cflags=`$EDB_CONFIG --cflags` edb_libs=`$EDB_CONFIG --libs` 69,77c53,69 AC_PATH_GENERIC(evas, 1.0.0, [ AC_SUBST(evas_libs) AC_SUBST(evas_cflags) ], AC_MSG_ERROR(Cannot find evas: Is evas-config in path?)) evas_libs=`evas-config --libs` evas_cflags=`evas-config --cflags` AC_SUBST(evas_libs) --- AC_SUBST(edb_libs) AC_ARG_WITH(eet-config, [ --with-eet-config=EET_CONFIG use eet-config specified ], [ EET_CONFIG=$withval; echo using $EET_CONFIG for eet-config; ], [ PROG=eet-config; AC_PATH_PROG(EET_CONFIG, $PROG, , $PATH)] ) eet_cflags=`$EET_CONFIG --cflags` eet_libs=`$EET_CONFIG --libs` AC_SUBST(eet_cflags) AC_SUBST(eet_libs) AC_ARG_WITH(evas-config, [ --with-evas-config=EVAS_CONFIG use evas-config specified ], [ EVAS_CONFIG=$withval; echo using $EVAS_CONFIG for evas-config; ], [ PROG=evas-config; AC_PATH_PROG(EVAS_CONFIG, $PROG, , $PATH) ] ) evas_cflags=`$EVAS_CONFIG --cflags` evas_libs=`$EVAS_CONFIG --libs` 79,115c71,78 have_ecore=no AC_CHECK_HEADER(Ecore.h,, AC_MSG_ERROR([Ecore.h not found! Have you installed Ecore?])) AC_CHECK_LIB(ecore, ecore_list_new, [have_ecore=yes], AC_MSG_ERROR([Ecore check failed! Make sure you have the latest version of Ecore installed.])) have_ecore_evas=no AC_CHECK_HEADER(Ecore_Evas.h,, AC_MSG_ERROR([Ecore_Evas.h not found! Did you compile Ecore with Evas support?])) AC_CHECK_LIB(ecore_evas, ecore_evas_init, [ have_ecore_evas=yes], AC_MSG_ERROR([Cannot find Ecore_Evas!])) have_ecore_software_x11=no AC_CHECK_LIB(ecore_evas, ecore_evas_software_x11_new, [ have_ecore_software_x11=yes], AC_MSG_ERROR([Ecore_Evas does not have Software/X11 support!])) have_ecore_gl_x11=no AC_CHECK_LIB(ecore_evas, ecore_evas_gl_x11_new, [ have_ecore_gl_x11=yes AC_DEFINE(HAVE_ECORE_GL_X11, 1, [OpenGL support])]) have_ecore_ipc=no AC_CHECK_HEADER(Ecore_Ipc.h,, AC_MSG_ERROR([Ecore_Ipc.h not found! Did you compile Ecore with IPC support?])) AC_CHECK_LIB(ecore_ipc, ecore_ipc_init, [ have_ecore_ipc=yes], AC_MSG_ERROR([Cannot find Ecore_Ipc!])) ecore_cflags=`ecore-config --cflags` ecore_libs=`ecore-config --libs` AC_SUBST(ecore_libs) --- AC_SUBST(evas_libs) AC_ARG_WITH(ecore-config, [ --with-ecore-config=ECORE_CONFIG use ecore-config
[E-devel] imlib2 tiff-support?
I seem to be having moderate problems packaging imlib2 (cvs version) with tiff support... I have libtiff 3.6.1 installed (with headers) taken from config.log: configure:21898: checking for TIFFReadScanline in -ltiff configure:21928: gcc -o conftest -O3 -fomit-frame-pointer -pipe -s -mpentium -mcpu=pentium -march=pentium -fexpensiv e-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -D_LARGEFILE64_SOURCE=1 conftest.c -ltiff 5 /usr/lib/gcc-lib/i586-trustix-linux/3.3.4/../../../libtiff.so: undefined reference to `log' /usr/lib/gcc-lib/i586-trustix-linux/3.3.4/../../../libtiff.so: undefined reference to `pow' /usr/lib/gcc-lib/i586-trustix-linux/3.3.4/../../../libtiff.so: undefined reference to `exp' any ideas would be greatly appreciated.. -- Morten --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] imlib2 tiff-support?
On Mon, 2005-03-07 at 22:27 +0100, Morten Nilsen wrote: I seem to be having moderate problems packaging imlib2 (cvs version) with tiff support... I have libtiff 3.6.1 installed (with headers) taken from config.log: configure:21898: checking for TIFFReadScanline in -ltiff configure:21928: gcc -o conftest -O3 -fomit-frame-pointer -pipe -s -mpentium -mcpu=pentium -march=pentium -fexpensiv e-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -D_LARGEFILE64_SOURCE=1 conftest.c -ltiff 5 /usr/lib/gcc-lib/i586-trustix-linux/3.3.4/../../../libtiff.so: undefined reference to `log' /usr/lib/gcc-lib/i586-trustix-linux/3.3.4/../../../libtiff.so: undefined reference to `pow' /usr/lib/gcc-lib/i586-trustix-linux/3.3.4/../../../libtiff.so: undefined reference to `exp' any ideas would be greatly appreciated.. Have you checked if /usr/lib/libtiff.so exists? If it does, is it a symlink? And if it is, is it pointing to the correct place? Also, check for outdated libs. This might happen when you have two versions of the same lib lying around your system. Good luck. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] imlib2 tiff-support?
robotron:2084 wrote: the trouble that libtiff is having is with functions from libm (the C math library). in the configure test, adding -lm would probably clear things up. i compile imlib2 with no trouble, though i admit i'm not sure if i have libtiff installed, so it's possible there's a problem with the configure check for tiff support. if you edit configure.in in the imlib2 root dir, you'll find a section that looks like this... snip if my theory is correct, the problem is with the first AC_CHECK_LIB -- if you take it out, so that there are only the two AC_CHECK_LIB functions (and if my theory is correct) then you should ok. i can test this out at home later tonight, and if it works i'll see about crafting a patch. quite right, this patch cleared it up for me; --- configure.in.org2005-03-03 15:28:51.0 +0100 +++ configure.in2005-03-07 22:55:31.888261464 +0100 @@ -228,9 +228,6 @@ AC_SUBST(PNGLIBS) AC_CHECK_LIB(tiff, TIFFReadScanline, - tiff_libs=-ltiff - tiff_ok=yes, -AC_CHECK_LIB(tiff, TIFFReadScanline, tiff_libs=-ltiff -ljpeg -lz -lm tiff_ok=yes, AC_CHECK_LIB(tiff34, TIFFReadScanline, @@ -239,8 +236,7 @@ tiff_ok=no AC_MSG_WARN(*** Native TIFF support will not be built (TIFF library not found) ***), -ljpeg -lz -lm), - -ljpeg -lz -lm), - ) + -ljpeg -lz -lm) if test $tiff_ok = yes; then AC_MSG_CHECKING([for tiffio.h]) AC_TRY_CPP( Cheers, -- Morten --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] imlib2 tiff-support?
André Medeiros wrote: Have you checked if /usr/lib/libtiff.so exists? If it does, is it a symlink? And if it is, is it pointing to the correct place? Also, check for outdated libs. This might happen when you have two versions of the same lib lying around your system. I'm using trustix' rpms .. so there would be no duplicate libs, and libtiff.so exists and points at the right place. Cheers, -- Morten --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] imlib2 tiff-support?
On Mon, 7 Mar 2005 15:45:55 -0600 "robotron:2084" [EMAIL PROTECTED] (Bbabbled: (B (B On Mon, 07 Mar 2005 22:27:35 +0100, Morten Nilsen [EMAIL PROTECTED] wrote: (B I seem to be having moderate problems packaging imlib2 (cvs version) (B with tiff support... (B (B I have libtiff 3.6.1 installed (with headers) (B (B taken from config.log: (B configure:21898: checking for TIFFReadScanline in -ltiff (B configure:21928: gcc -o conftest -O3 -fomit-frame-pointer -pipe -s (B -mpentium -mcpu=pentium -march=pentium -fexpensiv (B e-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 (B -D_LARGEFILE64_SOURCE=1 conftest.c -ltiff 5 (B /usr/lib/gcc-lib/i586-trustix-linux/3.3.4/../../../libtiff.so: undefined (B reference to `log' (B /usr/lib/gcc-lib/i586-trustix-linux/3.3.4/../../../libtiff.so: undefined (B reference to `pow' (B /usr/lib/gcc-lib/i586-trustix-linux/3.3.4/../../../libtiff.so: undefined (B reference to `exp' (B (B any ideas would be greatly appreciated.. (B (B the trouble that libtiff is having is with functions from libm (the C (B math library). in the configure test, adding "-lm" would probably (B clear things up. i compile imlib2 with no trouble, though i admit i'm (B not sure if i have libtiff installed, so it's possible there's a (B problem with the configure check for tiff support. (B (B if you edit configure.in in the imlib2 root dir, you'll find a section (B that looks like this... (B (B AC_CHECK_LIB(tiff, TIFFReadScanline, (B tiff_libs="-ltiff" (B tiff_ok=yes, (B AC_CHECK_LIB(tiff, TIFFReadScanline, (B tiff_libs="-ltiff -ljpeg -lz -lm" (B tiff_ok=yes, (B AC_CHECK_LIB(tiff34, TIFFReadScanline, (B tiff_libs="-ltiff34 -ljpeg -lz -lm" (B tiff_ok=yes, (B tiff_ok=no (B AC_MSG_WARN(*** Native TIFF support will not be built (TIFF library (B not found) ***), (B -ljpeg -lz -lm), (B -ljpeg -lz -lm), (B ) (B (B if my theory is correct, the problem is with the first AC_CHECK_LIB -- (B if you take it out, so that there are only the two AC_CHECK_LIB (B functions (and if my theory is correct) then you should ok. i can (B test this out at home later tonight, and if it works i'll see about (B crafting a patch. (B (Bbut the problem is the first is succeeding - with libtiff obviously not needing (B-lz -lm. as the compile and link f the test program with that function it it (Bworked. (B (B (B-- (B- Codito, ergo sum - "I code, therefore I am" -- (BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED] $BMg9%B?(B [EMAIL PROTECTED] (BTokyo, Japan ($BEl5~(B $BF|K\(B) (B (B (B--- (BSF email is sponsored by - The IT Product Guide (BRead honest candid reviews on hundreds of IT Products from real users. (BDiscover which products truly live up to the hype. Start reading now. (Bhttp://ads.osdn.com/?ad_id=6595alloc_id=14396op=click (B___ (Benlightenment-devel mailing list (Benlightenment-devel@lists.sourceforge.net (Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] imlib2 tiff-support?
On Mon, 07 Mar 2005 22:58:19 +0100 Morten Nilsen [EMAIL PROTECTED] babbled: (B (B robotron:2084 wrote: (B (B the trouble that libtiff is having is with functions from libm (the C (B math library). in the configure test, adding "-lm" would probably (B clear things up. i compile imlib2 with no trouble, though i admit i'm (B not sure if i have libtiff installed, so it's possible there's a (B problem with the configure check for tiff support. (B (B if you edit configure.in in the imlib2 root dir, you'll find a section (B that looks like this... (B (B snip (B (B if my theory is correct, the problem is with the first AC_CHECK_LIB -- (B if you take it out, so that there are only the two AC_CHECK_LIB (B functions (and if my theory is correct) then you should ok. i can (B test this out at home later tonight, and if it works i'll see about (B crafting a patch. (B (B quite right, this patch cleared it up for me; (B (B --- configure.in.org2005-03-03 15:28:51.0 +0100 (B +++ configure.in2005-03-07 22:55:31.888261464 +0100 (B @@ -228,9 +228,6 @@ (B AC_SUBST(PNGLIBS) (B (B AC_CHECK_LIB(tiff, TIFFReadScanline, (B - tiff_libs="-ltiff" (B - tiff_ok=yes, (B -AC_CHECK_LIB(tiff, TIFFReadScanline, (Btiff_libs="-ltiff -ljpeg -lz -lm" (Btiff_ok=yes, (B AC_CHECK_LIB(tiff34, TIFFReadScanline, (B @@ -239,8 +236,7 @@ (Btiff_ok=no (BAC_MSG_WARN(*** Native TIFF support will not be built (TIFF library (B not found) ***), (B-ljpeg -lz -lm), (B - -ljpeg -lz -lm), (B - ) (B + -ljpeg -lz -lm) (B if test "$tiff_ok" = yes; then (BAC_MSG_CHECKING([for tiffio.h]) (BAC_TRY_CPP( (B (Band that patch would be wrong :( as it removes the simpler test REQUIRING links (Bto libs that may NOT be needed. again - inform your distribution maintainers (Bthat they should not disable shared lib dependencies (the ability to LINK one (Bshared lib to others, like you can link an executable to shared libs). (B (B-- (B- Codito, ergo sum - "I code, therefore I am" -- (BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED] $BMg9%B?(B [EMAIL PROTECTED] (BTokyo, Japan ($BEl5~(B $BF|K\(B) (B (B (B--- (BSF email is sponsored by - The IT Product Guide (BRead honest candid reviews on hundreds of IT Products from real users. (BDiscover which products truly live up to the hype. Start reading now. (Bhttp://ads.osdn.com/?ad_id=6595alloc_id=14396op=click (B___ (Benlightenment-devel mailing list (Benlightenment-devel@lists.sourceforge.net (Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel