Re: [Fink-users] build error in emacs23

2010-07-27 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 7/26/10 8:43 PM, Eduardo Pestana wrote:
 Dear All,
 
 I had the same emacs23 problem.  I edited the
 
 emacs23.info http://emacs23.info
 
 file as JF suggested.
 All worked out perfectly.
 
 Thanks and best regards,
 Eduardo Pestana
 
 On Mon, Jul 26, 2010 at 1:35 PM, Jean-François Mertens
 j...@core.ucl.ac.be mailto:j...@core.ucl.ac.be wrote:
 
 
 On 26 Jul 2010, at 16:36, Alessio Sarti wrote:
 
  Here it is.
  http://www.lnf.infn.it/~asarti/documenti/MyIncl.txt
 http://www.lnf.infn.it/%7Easarti/documenti/MyIncl.txt
  Full log.
  alessio
 
 So you have a file /usr/X11/include/libpng/png.h ,
 which I don't have (here: /usr/X11/include/png.h - libpng14/png.h).
 
 configure finds this, and then in that case image.c
 includes libpng/png.h rather than png.h..
 
 (Also, configure finds in fact the wrong png.h, because
 it puts -I/usr/X11R6/include as irst flag..)
 
 Normally replacing in emacs23.info http://emacs23.info the line
 that has ./configure %c --
 with-x
 by :
 env ac_cv_header_libpng_png_h=no ./configure %c --with-x --with-x-
 toolkit=gtk
 should fix this.
 
 JF
 

(adding the maintainer back)

I've confirmed that this modification doesn't produce a problem on my
system, where apparently emacs23 built OK without the modification due
to a different X11 structure than the two posters had.

Shall we go ahead and make this change?

- -- 
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxOvYgACgkQB8UpO3rKjQ8ZyQCfcuUb5sfsf6qEV9dIHDKb7OEy
k5wAniQcqc+0BRZj+Q9V4tlcRgxRA0Mk
=kEUv
-END PGP SIGNATURE-

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-26 Thread Alessio Sarti
Still blocked by this error..
Any hint on how to properly setup the includes in order to compile  
emacs23?
alessio

On 22/lug/10, at 23:37, Jean-François Mertens wrote:


 On 21 Jul 2010, at 22:52, Alessio Sarti wrote:

 Looking for incorrect headers in 100 dependency files...
   ./src/image.d uses /usr/X11/include/libpng/png.h
   ./src/image.d uses /usr/X11/include/libpng/pngconf.h

 I don't understand how this can be ..
 What output do you get from

 env PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/lib/fontconfig2/ 
 lib/pkgconfig pkg-config --cflags xft

 (where _ in that single line _ you replace /sw
 by your fink-prefix if different)

 and, from

 fink -V|head -n2

 ?

 JF Mertens


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-26 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You shouldn't need to do anything: Fink doesn't support user
reconfiguration of flags in any case and the package seems to work for
most other people.  If you have something non-standard set in the root
environment that might explain what's going on.  Post the results of

fink dumpinfo -fenv emacs23



On 7/26/10 8:53 AM, Alessio Sarti wrote:
 Still blocked by this error..
 Any hint on how to properly setup the includes in order to compile  
 emacs23?
 alessio
 
 On 22/lug/10, at 23:37, Jean-François Mertens wrote:
 

 On 21 Jul 2010, at 22:52, Alessio Sarti wrote:

 Looking for incorrect headers in 100 dependency files...
  ./src/image.d uses /usr/X11/include/libpng/png.h
  ./src/image.d uses /usr/X11/include/libpng/pngconf.h

 I don't understand how this can be ..
 What output do you get from

 env PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/lib/fontconfig2/ 
 lib/pkgconfig pkg-config --cflags xft

 (where _ in that single line _ you replace /sw
 by your fink-prefix if different)

 and, from

 fink -V|head -n2

 ?

 JF Mertens
 
 


- -- 
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxNhv4ACgkQB8UpO3rKjQ8n+wCfb2me3qZS2m0lavuqsO78OjSm
FQcAnRpueH3y9NNYJRE/QlyOprwn2fhi
=9CQv
-END PGP SIGNATURE-

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-26 Thread Alessio Sarti
I have attached what you asked.
Thanks for your kind help.

alessio

[14:53:43]$fink dumpinfo -fenv emacs23
Information about 10599 packages read in 1 seconds.
env:
  ANT_HOME=/sw/lib/ant
  CCACHE_DIR=/sw/var/ccache
  CERN_ROOT=/sw
  CFLAGS=-Os -pipe
  CLASSPATH=/sw/share/java/antlr/antlr.jar:/sw/share/java/bcel/ 
bcel-5.2.jar:/sw/share/java/commons-logging/commons-logging- 
adapters.jar:/sw/share/java/commons-logging/commons-logging-api.jar:/ 
sw/share/java/commons-logging/commons-logging.jar:/sw/share/java/ 
commons-net/commons-net.jar:/sw/share/java/freetts/cmu_time_awb.jar:/ 
sw/share/java/freetts/cmu_us_kal.jar:/sw/share/java/freetts/ 
cmudict04.jar:/sw/share/java/freetts/cmulex.jar:/sw/share/java/freetts/ 
cmutimelex.jar:/sw/share/java/freetts/en_us.jar:/sw/share/java/freetts/ 
freetts-jsapi10.jar:/sw/share/java/freetts/freetts.jar:/sw/share/java/ 
jaf/activation.jar:/sw/share/java/jakarta-bsf/bsf.jar:/sw/share/java/ 
jakarta-oro/jakarta-oro.jar:/sw/share/java/jakarta-regexp/jakarta- 
regexp.jar:/sw/share/java/jakarta-servletapi/servlet.jar:/sw/share/ 
java/javamail/dsn.jar:/sw/share/java/javamail/imap.jar:/sw/share/java/ 
javamail/mail.jar:/sw/share/java/javamail/mailapi.jar:/sw/share/java/ 
javamail/pop3.jar:/sw/share/java/javamail/smtp.jar:/sw/share/java/ 
jdepend/jdepend.jar:/sw/share/java/jsapi/jsapi.jar:/sw/share/java/jsch/ 
jsch.jar:/sw/share/java/junit/junit.jar:/sw/share/java/jzlib/ 
jzlib.jar:/sw/share/java/log4j/log4j.jar:/sw/share/java/netrexx/ 
NetRexxC.jar:/sw/share/java/netrexx/NetRexxR.jar:/sw/share/java/rhino/ 
js.jar:/sw/share/java/saxon-b/saxon8-dom.jar:/sw/share/java/saxon-b/ 
saxon8-dom4j.jar:/sw/share/java/saxon-b/saxon8-jdom.jar:/sw/share/java/ 
saxon-b/saxon8-sql.jar:/sw/share/java/saxon-b/saxon8-xom.jar:/sw/share/ 
java/saxon-b/saxon8-xpath.jar:/sw/share/java/saxon-b/saxon8-xqj.jar:/ 
sw/share/java/saxon-b/saxon8.jar:/sw/share/java/stax/stax-1.2.0_rc1- 
dev.jar:/sw/share/java/stax/stax-api-1.0.jar:/sw/share/java/stylebook/ 
stylebook-1.0-b3_xalan-2.jar:/sw/share/java/xalan-j/serializer.jar:/sw/ 
share/java/xalan-j/xalan.jar:/sw/share/java/xerces-j/resolver.jar:/sw/ 
share/java/xerces-j/serializer.jar:/sw/share/java/xerces-j/ 
xercesImpl.jar:/sw/share/java/xerces-j/xercesSamples.jar:/sw/share/ 
java/xerces-j/xml-apis.jar:/sw/share/java/xmlbeans/xbean.jar:/sw/share/ 
java/xmlbeans/xbean_xpath.jar:/sw/share/java/xmlbeans/xmlpublic.jar:.
  CPPFLAGS=-MD
  DBUS_SESSION_BUS_ADDRESS=launchd:env=DBUS_FINK_SESSION_BUS_SOCKET
  GDK_USE_XFT=1
  GNOME_DISABLE_CRASH_DIALOG=1
  HOME=/tmp/fink-build-HOME.Z4XWMQ61Vs
  INFOPATH=/sw/share/info:/sw/info:/usr/share/info
  KDEDIR=/sw
  LADSPA_PATH=/sw/lib/ladspa
  LDFLAGS=-L/sw/lib/fontconfig2/lib -L/sw/lib/xft2/lib -L/sw/lib
  MACOSX_DEPLOYMENT_TARGET=10.5
  MAKEFLAGS=-j1
  MANPATH=/sw/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/ 
man:/sw/lib/perl5/5.8.8/man:/usr/X11R6/man:/sw/lib/perl5-core/5.8.6/ 
man:/sw/lib/perl5/5.8.6/man
  MONO_PATH=/sw/lib:/usr/lib
  MONO_SHARED_DIR=/tmp/fink-build-HOME.Z4XWMQ61Vs
  PATH=/sw/var/lib/fink/path-prefix-g++-4.0:/sw/bin:/sw/sbin:/bin:/usr/ 
bin:/sbin:/usr/sbin:/usr/X11R6/bin
  PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
  PWD=/private/var/root
  QTDIR=/sw/lib/qt3
  R_HOME=/sw/Library/Frameworks/R.framework/Resources
  SGML_CATALOG_FILES=/sw/etc/sgml/catalog
  SHLVL=2
  TERM=xterm-color
  XAPPLRESDIR=/sw/etc/app-defaults/
  XDG_CACHE_HOME=/tmp/fink-build-HOME.Z4XWMQ61Vs/.cache
  XDG_CONFIG_DIRS=/sw/etc/xdg
  XDG_CONFIG_HOME=/tmp/fink-build-HOME.Z4XWMQ61Vs/.config
  XDG_DATA_DIRS=/sw/share
  XDG_DATA_HOME=/tmp/fink-build-HOME.Z4XWMQ61Vs/.local/share
  XML_CATALOG_FILES=/sw/etc/xml/catalog
  ac_cv_path_INTLTOOL_PERL=/usr/bin/perl

On 26/lug/10, at 15:00, Alexander Hansen wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 You shouldn't need to do anything: Fink doesn't support user
 reconfiguration of flags in any case and the package seems to work for
 most other people.  If you have something non-standard set in the root
 environment that might explain what's going on.  Post the results of

 fink dumpinfo -fenv emacs23



 On 7/26/10 8:53 AM, Alessio Sarti wrote:
 Still blocked by this error..
 Any hint on how to properly setup the includes in order to compile
 emacs23?
 alessio

 On 22/lug/10, at 23:37, Jean-François Mertens wrote:


 On 21 Jul 2010, at 22:52, Alessio Sarti wrote:

 Looking for incorrect headers in 100 dependency files...
 ./src/image.d uses /usr/X11/include/libpng/png.h
 ./src/image.d uses /usr/X11/include/libpng/pngconf.h

 I don't understand how this can be ..
 What output do you get from

 env PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/lib/fontconfig2/
 lib/pkgconfig pkg-config --cflags xft

 (where _ in that single line _ you replace /sw
 by your fink-prefix if different)

 and, from

 fink -V|head -n2

 ?

 JF Mertens




 - --
 Alexander Hansen
 Fink User Liaison
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (Darwin)
 Comment: Using GnuPG with 

Re: [Fink-users] build error in emacs23

2010-07-26 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 7/26/10 9:07 AM, Alessio Sarti wrote:
 I have attached what you asked.
 Thanks for your kind help.
 
 alessio
 
 [14:53:43]$fink dumpinfo -fenv emacs23
 Information about 10599 packages read in 1 seconds.
 env:
   ANT_HOME=/sw/lib/ant
   CCACHE_DIR=/sw/var/ccache
   CERN_ROOT=/sw
   CFLAGS=-Os -pipe
   CLASSPATH=/sw/share/java/antlr/antlr.jar:/sw/share/java/bcel/ 
 bcel-5.2.jar:/sw/share/java/commons-logging/commons-logging- 
 adapters.jar:/sw/share/java/commons-logging/commons-logging-api.jar:/ 
 sw/share/java/commons-logging/commons-logging.jar:/sw/share/java/ 
 commons-net/commons-net.jar:/sw/share/java/freetts/cmu_time_awb.jar:/ 
 sw/share/java/freetts/cmu_us_kal.jar:/sw/share/java/freetts/ 
 cmudict04.jar:/sw/share/java/freetts/cmulex.jar:/sw/share/java/freetts/ 
 cmutimelex.jar:/sw/share/java/freetts/en_us.jar:/sw/share/java/freetts/ 
 freetts-jsapi10.jar:/sw/share/java/freetts/freetts.jar:/sw/share/java/ 
 jaf/activation.jar:/sw/share/java/jakarta-bsf/bsf.jar:/sw/share/java/ 
 jakarta-oro/jakarta-oro.jar:/sw/share/java/jakarta-regexp/jakarta- 
 regexp.jar:/sw/share/java/jakarta-servletapi/servlet.jar:/sw/share/ 
 java/javamail/dsn.jar:/sw/share/java/javamail/imap.jar:/sw/share/java/ 
 javamail/mail.jar:/sw/share/java/javamail/mailapi.jar:/sw/share/java/ 
 javamail/pop3.jar:/sw/share/java/javamail/smtp.jar:/sw/share/java/ 
 jdepend/jdepend.jar:/sw/share/java/jsapi/jsapi.jar:/sw/share/java/jsch/ 
 jsch.jar:/sw/share/java/junit/junit.jar:/sw/share/java/jzlib/ 
 jzlib.jar:/sw/share/java/log4j/log4j.jar:/sw/share/java/netrexx/ 
 NetRexxC.jar:/sw/share/java/netrexx/NetRexxR.jar:/sw/share/java/rhino/ 
 js.jar:/sw/share/java/saxon-b/saxon8-dom.jar:/sw/share/java/saxon-b/ 
 saxon8-dom4j.jar:/sw/share/java/saxon-b/saxon8-jdom.jar:/sw/share/java/ 
 saxon-b/saxon8-sql.jar:/sw/share/java/saxon-b/saxon8-xom.jar:/sw/share/ 
 java/saxon-b/saxon8-xpath.jar:/sw/share/java/saxon-b/saxon8-xqj.jar:/ 
 sw/share/java/saxon-b/saxon8.jar:/sw/share/java/stax/stax-1.2.0_rc1- 
 dev.jar:/sw/share/java/stax/stax-api-1.0.jar:/sw/share/java/stylebook/ 
 stylebook-1.0-b3_xalan-2.jar:/sw/share/java/xalan-j/serializer.jar:/sw/ 
 share/java/xalan-j/xalan.jar:/sw/share/java/xerces-j/resolver.jar:/sw/ 
 share/java/xerces-j/serializer.jar:/sw/share/java/xerces-j/ 
 xercesImpl.jar:/sw/share/java/xerces-j/xercesSamples.jar:/sw/share/ 
 java/xerces-j/xml-apis.jar:/sw/share/java/xmlbeans/xbean.jar:/sw/share/ 
 java/xmlbeans/xbean_xpath.jar:/sw/share/java/xmlbeans/xmlpublic.jar:.
   CPPFLAGS=-MD
   DBUS_SESSION_BUS_ADDRESS=launchd:env=DBUS_FINK_SESSION_BUS_SOCKET
   GDK_USE_XFT=1
   GNOME_DISABLE_CRASH_DIALOG=1
   HOME=/tmp/fink-build-HOME.Z4XWMQ61Vs
   INFOPATH=/sw/share/info:/sw/info:/usr/share/info
   KDEDIR=/sw
   LADSPA_PATH=/sw/lib/ladspa
   LDFLAGS=-L/sw/lib/fontconfig2/lib -L/sw/lib/xft2/lib -L/sw/lib
   MACOSX_DEPLOYMENT_TARGET=10.5
   MAKEFLAGS=-j1
   MANPATH=/sw/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/ 
 man:/sw/lib/perl5/5.8.8/man:/usr/X11R6/man:/sw/lib/perl5-core/5.8.6/ 
 man:/sw/lib/perl5/5.8.6/man
   MONO_PATH=/sw/lib:/usr/lib
   MONO_SHARED_DIR=/tmp/fink-build-HOME.Z4XWMQ61Vs
   PATH=/sw/var/lib/fink/path-prefix-g++-4.0:/sw/bin:/sw/sbin:/bin:/usr/ 
 bin:/sbin:/usr/sbin:/usr/X11R6/bin
   PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
   PWD=/private/var/root
   QTDIR=/sw/lib/qt3
   R_HOME=/sw/Library/Frameworks/R.framework/Resources
   SGML_CATALOG_FILES=/sw/etc/sgml/catalog
   SHLVL=2
   TERM=xterm-color
   XAPPLRESDIR=/sw/etc/app-defaults/
   XDG_CACHE_HOME=/tmp/fink-build-HOME.Z4XWMQ61Vs/.cache
   XDG_CONFIG_DIRS=/sw/etc/xdg
   XDG_CONFIG_HOME=/tmp/fink-build-HOME.Z4XWMQ61Vs/.config
   XDG_DATA_DIRS=/sw/share
   XDG_DATA_HOME=/tmp/fink-build-HOME.Z4XWMQ61Vs/.local/share
   XML_CATALOG_FILES=/sw/etc/xml/catalog
   ac_cv_path_INTLTOOL_PERL=/usr/bin/perl
 

Nothing looks unusual in that to me.

I'm wondering if possibly image.d is inheriting the incorrect libpng
path via some other package.

- -- 
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxNjSYACgkQB8UpO3rKjQ+PfgCfbNJ98JvZDDLowjeQ0uW55Otb
TvEAn0vh2k49v+NFNc+otId6qC0FHFNQ
=JvQQ
-END PGP SIGNATURE-

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-26 Thread Jean-François Mertens
(Sorry, was WE...)


On 26 Jul 2010, at 15:00, Alexander Hansen wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 You shouldn't need to do anything: Fink doesn't support user
 reconfiguration of flags in any case and the package seems to work for
 most other people.  If you have something non-standard set in the root
 environment that might explain what's going on.  Post the results of

 fink dumpinfo -fenv emacs23

and maybe also of (after fink install libpng3):
ls -l /sw/include/{libpng12/,png}*

If all this is normal, I'd need you to create a build-log
(fink -kly install emacs23), and then first send the output of

fgrep image.c /tmp/fink-build-log_emacs23*

JF Mertens

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-26 Thread Alessio Sarti
Thanks again everybody for your help!
below I attach the information you requested.

alessio


 and maybe also of (after fink install libpng3):
 ls -l /sw/include/{libpng12/,png}*

-rw-r--r--  1 root  admin  160817 Jun 30 23:33 /sw/include/libpng12/ 
png.h
-rw-r--r--  1 root  admin   49863 Jun 30 23:33 /sw/include/libpng12/ 
pngconf.h
lrwxr-xr-x  1 root  admin  14 Jul 26 14:49 /sw/include/png.h -  
libpng12/png.h
lrwxr-xr-x  1 root  admin  18 Jul 26 14:49 /sw/include/pngconf.h - 
  libpng12/pngconf.h

 If all this is normal, I'd need you to create a build-log
 (fink -kly install emacs23), and then first send the output of

 fgrep image.c /tmp/fink-build-log_emacs23*

fgrep image.c /tmp/fink-build-log_emacs23*
emacs-23.1/src/image.c
gcc -c -MD -Demacs -DHAVE_CONFIG_H  -I. -I/sw/src/fink.build/ 
emacs23-23.1-201/emacs-23.1/src -Dtemacs -I/sw/lib/fontconfig2/include  
-I/sw/lib/xft2/include -I/sw/include/freetype2 -I/sw/include -I/usr/ 
X11/include -I/usr/X11R6/include  -I/sw/include/glib-2.0 -I/sw/lib/ 
glib-2.0/include -I/sw/lib/fontconfig2/include -I/sw/include/librsvg-2  
-I/sw/include/gtk-2.0 -I/sw/include/cairo -I/sw/include/freetype2 -I/ 
sw/include -I/usr/X11R6/include -I/usr/X11/include -I/sw/include/ 
dbus-1.0 -I/sw/lib/dbus-1.0/include -Os -pipe -I/sw/include/freetype2 - 
I/sw/include -I/usr/X11R6/include -I/sw/include/glib-2.0 -I/sw/lib/ 
glib-2.0/include -I/sw/lib/fontconfig2/include -I/sw/include/gtk-2.0 - 
I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/ 
sw/include/pango-1.0 -I/sw/include/freetype2 -I/sw/include -I/usr/ 
X11R6/include -I/usr/X11/include -I/sw/lib/fontconfig2/include -I/sw/ 
lib/xft2/include -I/sw/include/freetype2 -I/sw/include -I/usr/X11/ 
include -I/usr/X11R6/include image.c
image.c: In function 'x_create_bitmap_from_file':
image.c:628: warning: pointer targets in passing argument 2 of  
'strcpy' differ in signedness
image.c: In function 'parse_image_spec':
image.c:1054: warning: pointer targets in passing argument 2 of  
'strcmp' differ in signedness
image.c: In function 'x_alloc_image_color':
image.c:1684: warning: pointer targets in passing argument 2 of  
'x_defined_color' differ in signedness
image.c: In function 'xbm_load':
image.c:3193: warning: pointer targets in passing argument 1 of  
'slurp_file' differ in signedness
image.c:3272: warning: pointer targets in assignment differ in  
signedness
image.c:3274: warning: pointer targets in assignment differ in  
signedness
image.c: In function 'xpm_load':
image.c:3791: warning: pointer targets in passing argument 2 of  
'strcpy' differ in signedness
image.c:3793: warning: pointer targets in passing argument 2 of  
'strcpy' differ in signedness
image.c:3831: warning: pointer targets in passing argument 3 of  
'XpmReadFileToPixmap' differ in signedness
image.c:3847: warning: pointer targets in passing argument 3 of  
'XpmCreatePixmapFromBuffer' differ in signedness
image.c: In function 'pbm_load':
image.c:5472: warning: pointer targets in passing argument 1 of  
'slurp_file' differ in signedness
image.c: In function 'png_load':
image.c:5989: warning: pointer targets in passing argument 1 of  
'fopen' differ in signedness
image.c:6127: warning: pointer targets in passing argument 2 of  
'x_defined_color' differ in signedness
image.c: In function 'jpeg_load':
image.c:6733: warning: pointer targets in passing argument 1 of  
'fopen' differ in signedness
image.c: In function 'tiff_load':
image.c:7192: warning: pointer targets in passing argument 1 of  
'TIFFOpen' differ in signedness
image.c: In function 'gif_load':
image.c:7556: warning: pointer targets in passing argument 1 of  
'DGifOpenFileName' differ in signedness
image.c: In function 'svg_load':
image.c:7981: warning: pointer targets in passing argument 1 of  
'slurp_file' differ in signedness
image.c: In function 'svg_load_image':
image.c:8091: warning: pointer targets in passing argument 2 of  
'x_defined_color' differ in signedness
image.c: In function 'xbm_load_image':
image.c:3127: warning: pointer targets in passing argument 3 of  
'Create_Pixmap_From_Bitmap_Data' differ in signedness


 JF Mertens


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-26 Thread Jean-François Mertens

On 26 Jul 2010, at 15:35, Alessio Sarti wrote:


 and maybe also of (after fink install libpng3):
 ls -l /sw/include/{libpng12/,png}*

 -rw-r--r--  1 root  admin  160817 Jun 30 23:33 /sw/include/libpng12/
 png.h
 -rw-r--r--  1 root  admin   49863 Jun 30 23:33 /sw/include/libpng12/
 pngconf.h
 lrwxr-xr-x  1 root  admin  14 Jul 26 14:49 /sw/include/png.h -
 libpng12/png.h
 lrwxr-xr-x  1 root  admin  18 Jul 26 14:49 /sw/include/pngconf.h -
 libpng12/pngconf.h

 If all this is normal, I'd need you to create a build-log
 (fink -kly install emacs23), and then first send the output of

 fgrep image.c /tmp/fink-build-log_emacs23*

 fgrep image.c /tmp/fink-build-log_emacs23*
 emacs-23.1/src/image.c
 gcc -c -MD -Demacs -DHAVE_CONFIG_H  -I. -I/sw/src/fink.build/
 emacs23-23.1-201/emacs-23.1/src -Dtemacs -I/sw/lib/fontconfig2/include
 -I/sw/lib/xft2/include -I/sw/include/freetype2 -I/sw/include -I/usr/
 X11/include -I/usr/X11R6/include  -I/sw/include/glib-2.0 -I/sw/lib/
 glib-2.0/include -I/sw/lib/fontconfig2/include -I/sw/include/librsvg-2
 -I/sw/include/gtk-2.0 -I/sw/include/cairo -I/sw/include/freetype2 -I/
 sw/include -I/usr/X11R6/include -I/usr/X11/include -I/sw/include/
 dbus-1.0 -I/sw/lib/dbus-1.0/include -Os -pipe -I/sw/include/ 
 freetype2 -
 I/sw/include -I/usr/X11R6/include -I/sw/include/glib-2.0 -I/sw/lib/
 glib-2.0/include -I/sw/lib/fontconfig2/include -I/sw/include/gtk-2.0 -
 I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/
 sw/include/pango-1.0 -I/sw/include/freetype2 -I/sw/include -I/usr/
 X11R6/include -I/usr/X11/include -I/sw/lib/fontconfig2/include -I/sw/
 lib/xft2/include -I/sw/include/freetype2 -I/sw/include -I/usr/X11/
 include -I/usr/X11R6/include image.c

Everything is normal up to here...
Thus, last recourse, could you

cd /sw/src/fink.build/emacs23-23.1-201/emacs-23.1/src
then repeat there the above gcc -c ... command followed by -H
_ ALL in 1 line ! _; thus gcc -c ... image.c -H ,
and post the (longish, sorry..) ouput..

JF Mertens





--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-26 Thread Alessio Sarti
Here it is.
http://www.lnf.infn.it/~asarti/documenti/MyIncl.txt
Full log.
alessio

On 26/lug/10, at 16:23, Jean-François Mertens wrote:


 On 26 Jul 2010, at 15:35, Alessio Sarti wrote:


 and maybe also of (after fink install libpng3):
 ls -l /sw/include/{libpng12/,png}*

 -rw-r--r--  1 root  admin  160817 Jun 30 23:33 /sw/include/libpng12/
 png.h
 -rw-r--r--  1 root  admin   49863 Jun 30 23:33 /sw/include/libpng12/
 pngconf.h
 lrwxr-xr-x  1 root  admin  14 Jul 26 14:49 /sw/include/png.h -
 libpng12/png.h
 lrwxr-xr-x  1 root  admin  18 Jul 26 14:49 /sw/include/ 
 pngconf.h -
 libpng12/pngconf.h

 If all this is normal, I'd need you to create a build-log
 (fink -kly install emacs23), and then first send the output of

 fgrep image.c /tmp/fink-build-log_emacs23*

 fgrep image.c /tmp/fink-build-log_emacs23*
 emacs-23.1/src/image.c
 gcc -c -MD -Demacs -DHAVE_CONFIG_H  -I. -I/sw/src/fink.build/
 emacs23-23.1-201/emacs-23.1/src -Dtemacs -I/sw/lib/fontconfig2/ 
 include
 -I/sw/lib/xft2/include -I/sw/include/freetype2 -I/sw/include -I/usr/
 X11/include -I/usr/X11R6/include  -I/sw/include/glib-2.0 -I/sw/lib/
 glib-2.0/include -I/sw/lib/fontconfig2/include -I/sw/include/ 
 librsvg-2
 -I/sw/include/gtk-2.0 -I/sw/include/cairo -I/sw/include/freetype2 -I/
 sw/include -I/usr/X11R6/include -I/usr/X11/include -I/sw/include/
 dbus-1.0 -I/sw/lib/dbus-1.0/include -Os -pipe -I/sw/include/ 
 freetype2 -
 I/sw/include -I/usr/X11R6/include -I/sw/include/glib-2.0 -I/sw/lib/
 glib-2.0/include -I/sw/lib/fontconfig2/include -I/sw/include/ 
 gtk-2.0 -
 I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo - 
 I/
 sw/include/pango-1.0 -I/sw/include/freetype2 -I/sw/include -I/usr/
 X11R6/include -I/usr/X11/include -I/sw/lib/fontconfig2/include -I/sw/
 lib/xft2/include -I/sw/include/freetype2 -I/sw/include -I/usr/X11/
 include -I/usr/X11R6/include image.c

 Everything is normal up to here...
 Thus, last recourse, could you

 cd /sw/src/fink.build/emacs23-23.1-201/emacs-23.1/src
 then repeat there the above gcc -c ... command followed by -H
 _ ALL in 1 line ! _; thus gcc -c ... image.c -H ,
 and post the (longish, sorry..) ouput..

 JF Mertens






--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-26 Thread Jean-François Mertens

On 26 Jul 2010, at 16:36, Alessio Sarti wrote:

 Here it is.
 http://www.lnf.infn.it/~asarti/documenti/MyIncl.txt
 Full log.
 alessio

So you have a file /usr/X11/include/libpng/png.h ,
which I don't have (here: /usr/X11/include/png.h - libpng14/png.h).

configure finds this, and then in that case image.c
includes libpng/png.h rather than png.h..

(Also, configure finds in fact the wrong png.h, because
it puts -I/usr/X11R6/include as irst flag..)

Normally replacing in emacs23.info the line that has ./configure %c -- 
with-x
by :
env ac_cv_header_libpng_png_h=no ./configure %c --with-x --with-x- 
toolkit=gtk
should fix this.

JF

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-26 Thread Alessio Sarti
Great, thanks.
That worked like a charm.

thanks for your help.
Cheers,
alessio
On 26/lug/10, at 20:05, Jean-François Mertens wrote:


 On 26 Jul 2010, at 16:36, Alessio Sarti wrote:

 Here it is.
 http://www.lnf.infn.it/~asarti/documenti/MyIncl.txt
 Full log.
 alessio

 So you have a file /usr/X11/include/libpng/png.h ,
 which I don't have (here: /usr/X11/include/png.h - libpng14/png.h).

 configure finds this, and then in that case image.c
 includes libpng/png.h rather than png.h..

 (Also, configure finds in fact the wrong png.h, because
 it puts -I/usr/X11R6/include as irst flag..)

 Normally replacing in emacs23.info the line that has ./configure %c  
 --with-x
 by :
 env ac_cv_header_libpng_png_h=no ./configure %c --with-x --with-x- 
 toolkit=gtk
 should fix this.

 JF


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-23 Thread Alessio Sarti

On 22/lug/10, at 23:37, Jean-François Mertens wrote:


 On 21 Jul 2010, at 22:52, Alessio Sarti wrote:

 Looking for incorrect headers in 100 dependency files...
   ./src/image.d uses /usr/X11/include/libpng/png.h
   ./src/image.d uses /usr/X11/include/libpng/pngconf.h

 I don't understand how this can be ..
 What output do you get from

 env PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/lib/fontconfig2/ 
 lib/pkgconfig pkg-config --cflags xft

 (where _ in that single line _ you replace /sw
 by your fink-prefix if different)

-I/sw/lib/xft2/include -I/sw/lib/fontconfig2/include -I/sw/include/ 
freetype2 -I/sw/include -I/usr/X11/include -I/usr/X11R6/include

 and, from

 fink -V|head -n2


Package manager version: 0.29.13
Distribution version: selfupdate-rsync Thu Jul 22 21:18:20 2010, 10.5,  
i386
Alessio
 ?

 JF Mertens


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-21 Thread Daniel E. Macks
Daniel E. Macks dma...@netspace.org said:
 Jean-Fran?ois Mertens j...@core.ucl.ac.be said:
 I get the following error:

 gcc  -prebind -Xlinker -headerpad -Xlinker 690 -L/sw/lib/pango-ft219/ 
 lib -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/usr/X11R6/ 
 lib -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o menu.o  
 xmenu.o window.o charset.o coding.o category.o ccl.o character.o  
 chartab.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o  
 xrdb.o fontset.o xsmfns.o fringe.o image.o gtkutil.o dbusbind.o  
 emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o  
 insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o  
 casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o  
 data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o  
 print.o lread.o syntax.o unexmacosx.o bytecode.o process.o  
 callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o  
 intervals.o textprop.o composite.o md5.oxfont.o ftfont.o  
 xftfont.o ftxfont.o terminfo.o lastfile.o -L/sw/lib -L/usr/X11/ 
 lib  -L/usr/X11R6/lib -L/sw/lib -L/sw/lib/fontconfig2/lib -lgtk- 
 x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 - 
 lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype - 
 lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lpthread - 
 lSM -lICE -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -L/sw/lib/ 
 fontconfig2/lib -L/sw/lib -L/usr/X11/lib -lXft -lXrender - 
 lfontconfig -lfreetype -lX11  -L/sw/lib -lrsvg-2 -lgdk_pixbuf-2.0 - 
 lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/sw/lib - 
 ldbus-1 -lpthread -lncurses  -L/sw/lib -Wl,-framework,CoreServices - 
 Wl,-framework,ApplicationServices -lz -lotf -lfreetype
 Undefined symbols:
   _png_check_sig, referenced from:
   _png_load in image.o
   _png_load in image.o

 -lpng is on the link command; so this is because of incorrect flag- 
 ordering
 _  -L/usr/X11R6/lib coming before -L%p/lib . Indeed,
 %p/lib/libpng.dylib does define  _png_check_sig , while (with X11 2.5.1)
 /usr/X11/lib/libpng.dylib does not.

 Adding -L%p/lib at the end of the SetLDFLAGS is a quick hack around..
 (also, on systems where /usr/X11/lib/libpng.dylib would contain the  
 symbol,
 this prevents incorrect linking.)

 emacs23 is next on my list of cleanup for current gnome standards,
 with fink-package-precedence, hopefully in the next day or so.

Give revision -201 a try.

dan

-- 
Daniel Macks
dma...@netspace.org


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-21 Thread Alessio Sarti
The previous error is fixed but now
the following shows up:

Looking for incorrect headers in 100 dependency files...
 ./src/image.d uses /usr/X11/include/libpng/png.h
 ./src/image.d uses /usr/X11/include/libpng/pngconf.h
Please fix build process to get consistent use of fink's headers.
### execution of /var/tmp/tmp.1.asBrc2 failed, exit code 255
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-emacs23-23.1-201
(Lettura del database ... 319772 file e directory attualmente  
installati.)
Rimozione di fink-buildlock-emacs23-23.1-201 ...
Failed: phase compiling: emacs23-23.1-201 failed

Cheers,
Alessio

On 21/lug/10, at 19:06, Daniel E. Macks wrote:

 Daniel E. Macks dma...@netspace.org said:
 Jean-Fran?ois Mertens j...@core.ucl.ac.be said:
 I get the following error:

 gcc  -prebind -Xlinker -headerpad -Xlinker 690 -L/sw/lib/pango- 
 ft219/
 lib -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/usr/ 
 X11R6/
 lib -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o menu.o
 xmenu.o window.o charset.o coding.o category.o ccl.o character.o
 chartab.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o
 xrdb.o fontset.o xsmfns.o fringe.o image.o gtkutil.o dbusbind.o
 emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o
 insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o
 casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o
 data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o
 print.o lread.o syntax.o unexmacosx.o bytecode.o process.o
 callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o
 intervals.o textprop.o composite.o md5.oxfont.o ftfont.o
 xftfont.o ftxfont.o terminfo.o lastfile.o -L/sw/lib -L/usr/X11/
 lib  -L/usr/X11R6/lib -L/sw/lib -L/sw/lib/fontconfig2/lib -lgtk-
 x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -
 lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -
 lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl - 
 lpthread -
 lSM -lICE -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -L/sw/lib/
 fontconfig2/lib -L/sw/lib -L/usr/X11/lib -lXft -lXrender -
 lfontconfig -lfreetype -lX11  -L/sw/lib -lrsvg-2 -lgdk_pixbuf-2.0 -
 lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/sw/lib -
 ldbus-1 -lpthread -lncurses  -L/sw/lib -Wl,- 
 framework,CoreServices -
 Wl,-framework,ApplicationServices -lz -lotf -lfreetype
 Undefined symbols:
  _png_check_sig, referenced from:
  _png_load in image.o
  _png_load in image.o

 -lpng is on the link command; so this is because of incorrect flag-
 ordering
 _  -L/usr/X11R6/lib coming before -L%p/lib . Indeed,
 %p/lib/libpng.dylib does define  _png_check_sig , while (with X11  
 2.5.1)
 /usr/X11/lib/libpng.dylib does not.

 Adding -L%p/lib at the end of the SetLDFLAGS is a quick hack  
 around..
 (also, on systems where /usr/X11/lib/libpng.dylib would contain the
 symbol,
 this prevents incorrect linking.)

 emacs23 is next on my list of cleanup for current gnome standards,
 with fink-package-precedence, hopefully in the next day or so.

 Give revision -201 a try.

 dan

 -- 
 Daniel Macks
 dma...@netspace.org


 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 Fink-users mailing list
 Fink-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/fink-users


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] build error in emacs23

2010-07-19 Thread Daniel E. Macks
Jean-Fran?ois Mertens j...@core.ucl.ac.be said:
 I get the following error:

 gcc  -prebind -Xlinker -headerpad -Xlinker 690 -L/sw/lib/pango-ft219/ 
 lib -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/usr/X11R6/ 
 lib -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o menu.o  
 xmenu.o window.o charset.o coding.o category.o ccl.o character.o  
 chartab.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o  
 xrdb.o fontset.o xsmfns.o fringe.o image.o gtkutil.o dbusbind.o  
 emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o  
 insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o  
 casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o  
 data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o  
 print.o lread.o syntax.o unexmacosx.o bytecode.o process.o  
 callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o  
 intervals.o textprop.o composite.o md5.oxfont.o ftfont.o  
 xftfont.o ftxfont.o terminfo.o lastfile.o -L/sw/lib -L/usr/X11/ 
 lib  -L/usr/X11R6/lib -L/sw/lib -L/sw/lib/fontconfig2/lib -lgtk- 
 x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 - 
 lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype - 
 lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lpthread - 
 lSM -lICE -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -L/sw/lib/ 
 fontconfig2/lib -L/sw/lib -L/usr/X11/lib -lXft -lXrender - 
 lfontconfig -lfreetype -lX11  -L/sw/lib -lrsvg-2 -lgdk_pixbuf-2.0 - 
 lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -L/sw/lib - 
 ldbus-1 -lpthread -lncurses  -L/sw/lib -Wl,-framework,CoreServices - 
 Wl,-framework,ApplicationServices -lz -lotf -lfreetype
 Undefined symbols:
   _png_check_sig, referenced from:
   _png_load in image.o
   _png_load in image.o

 -lpng is on the link command; so this is because of incorrect flag- 
 ordering
 _  -L/usr/X11R6/lib coming before -L%p/lib . Indeed,
 %p/lib/libpng.dylib does define  _png_check_sig , while (with X11 2.5.1)
 /usr/X11/lib/libpng.dylib does not.

 Adding -L%p/lib at the end of the SetLDFLAGS is a quick hack around..
 (also, on systems where /usr/X11/lib/libpng.dylib would contain the  
 symbol,
 this prevents incorrect linking.)

emacs23 is next on my list of cleanup for current gnome standards,
with fink-package-precedence, hopefully in the next day or so.

dan

-- 
Daniel Macks
dma...@netspace.org


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users