Re: [Fink-devel] wxgtk2.8 and plplot
Jean-François Mertens wrote: [] I don't think so : it rather seems a problem of dpkg installing (on some systems) files with different perms than they have in the deb : compare your output of dpkg -c with your ls -l .. The pkg can only take care that the deb be correct, after it is dpkg's problem. I would be completely unreasonable to have huge postinstscripts correcting all mistakes dpkg might be doing. Martin: your output of dpkg -c was correct too, I guess ? It's more complicated than that: On the machine where I detected the 644 permission problem for /sw/lib/wx, I had wxgtk2.8-2.8.0-3 installed, not the latest 2.8.7-7. In addition, I didn't build it there, but installed it from another one. On that one, I have 2.8.7-7 installed, the permissions are 755, and the debs show costabel% dpkg -c /sw/fink/debs/wxgtk2.8_2.8.0-3_darwin-i386.deb | egrep '/sw/lib/wx/$' drw-r--r-- root/admin0 2008-01-09 11:43 ./sw/lib/wx/ costabel% dpkg -c /sw/fink/debs/wxgtk2.8_2.8.7-7_darwin-i386.deb | egrep '/sw/lib/wx/$' drwxr-xr-x root/admin0 2008-03-27 02:15 ./sw/lib/wx/ So the permissions in the debs differ between wxgtk2.8 versions, but they coincide with the installed ones. But then I was able to produce the plplot build error only when building-as-nobody, not with a regular fink build (which runs as root and does not seem to worry about non-executable directories). So the behavior I have been seeing is not exactly the same as the one Koen has been reporting. No idea where the further differences could come from. -- Martin - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On Mar 26, 2008, at 11:19 PM, Jean-François Mertens wrote: should have also asked to execute under /bin/sh .. : # /bin/sh sh-2.05b# echo -n A Ash-2.05b# exit that returns: exile:~ koen$ /bin/sh sh-3.2$ echo -n A -n A - Koen. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On Mar 27, 2008, at 2:29 AM, Martin Costabel wrote: Koen van der Drift wrote: [] exile:sci koen$ cvs diff plplot.info [EMAIL PROTECTED]'s password: I still would like to see cvs stat plplot.info === File: plplot.info Status: Up-to-date Working revision: 1.48 Repository revision:1.48/cvsroot/fink/dists/10.4/unstable/main/ finkinfo/sci/plplot.info,v Sticky Tag: (none) Sticky Date:(none) Sticky Options: -ko There were and are quite a few different versions of this on CVS that all have the same version-revision. BTW, you *are* talking about plplot -5.8.0-1008, aren't you? No, it's plplot-5.8.0-1007, which is the same as on the website: http://pdb.finkproject.org/pdb/package.php/plplot Here is what I get from `fink dumpinfo -fconfigureparams plplot`: configureparams: --prefix=/sw --mandir=/sw/share/man --infodir=/sw/share/info --with-python-incdir=/sw/include/python2.5 \ --with-freetype2-libdir=/sw/lib/freetype219/lib --with-freetype2-incdir=/sw/lib/freetype219/include/freetype2 \ --with-freetype-font-dir=/usr/X11R6/lib/X11/fonts --with-gd-libdir=/sw/lib --with-gd-incdir=/sw/include \ --with-java-home=/Library/Java/Home TCLLIBDIR=/sw/lib TKLIBDIR=/sw/lib AQTINCDIR=/sw/include/aquaterm \ --with-wxwidgets-bindir=/sw/bin \ --without-rpath --build=powerpc-apple-darwin --with-prebuiltdoc --with-onsgmls \ --with-pkg-config --with-pthreads --with-ltdlsystem --enable-f95 FC=gfortran F77=gfortran \ --enable-xterm --with-x --disable-java \ --disable-dependency-tracking Do you get the same? I get: configureparams: --prefix=/sw --mandir=/sw/share/man --infodir=/sw/ share/info --with-python-incdir=/sw/include/python2.5 \ --with- freetype2-libdir=/sw/lib/freetype219/lib --with-freetype2-incdir=/sw/ lib/freetype219/include/freetype2 \ --with-freetype-font-dir=/usr/ X11R6/lib/X11/fonts --with-gd-libdir=/sw/lib --with-gd-incdir=/sw/ include \ --with-java-home=/Library/Java/Home TCLLIBDIR=/sw/lib TKLIBDIR=/sw/lib AQTINCDIR=/sw/include/aquaterm \ --with-wxwidgets- bindir=/sw/bin \ --without-rpath --build=powerpc-apple-darwin --with- prebuiltdoc --with-onsgmls \ --with-pkg-config --with-pthreads --with- ltdlsystem --enable-f95 FC=gfortran F77=gfortran \ --enable-xterm -- with-x --disable-java \ --disable-dependency-tracking - Koen. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On 27 Mar 2008, at 12:35, Koen van der Drift wrote: On Mar 26, 2008, at 11:19 PM, Jean-François Mertens wrote: should have also asked to execute under /bin/sh .. : # /bin/sh sh-2.05b# echo -n A Ash-2.05b# exit that returns: exile:~ koen$ /bin/sh sh-3.2$ echo -n A -n A So that's indeed the culprit, at least for all the lines -n in your configure output. Have no time to deal with it right now _ if someone else can, feel free. (Or knows a script that will sanitize such files ...) JF - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On 27 Mar 2008, at 12:58, Jean-François Mertens wrote: On 27 Mar 2008, at 12:35, Koen van der Drift wrote: On Mar 26, 2008, at 11:19 PM, Jean-François Mertens wrote: should have also asked to execute under /bin/sh .. : # /bin/sh sh-2.05b# echo -n A Ash-2.05b# exit that returns: exile:~ koen$ /bin/sh sh-3.2$ echo -n A -n A So that's indeed the culprit, at least for all the lines -n in your configure output. Have no time to deal with it right now _ if someone else can, feel free. (Or knows a script that will sanitize such files ...) Too many pkgs have such 'echo -n' _ we need a simple solution. Koen, could you test if replacing '/bin/sh' by '/bin/bash' on the first line of the compilescript makes your problems go away ? (Or at least those '-n' ..) Thanks, Jean-Francois - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
Koen van der Drift wrote: [] File: plplot.info Status: Up-to-date Working revision: 1.48 Repository revision: 1.48/cvsroot/fink/dists/10.4/unstable/main/ finkinfo/sci/plplot.info,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: -ko Yes, that's the one I have built successfully here. There were and are quite a few different versions of this on CVS that all have the same version-revision. BTW, you *are* talking about plplot -5.8.0-1008, aren't you? No, it's plplot-5.8.0-1007, which is the same as on the website: http://pdb.finkproject.org/pdb/package.php/plplot My fault, sorry; I got confused by the many cvs diff's I looked at. I have -1007, too. There is indeed a -1008, but in the pangocairo branch. [] I get: configureparams: --prefix=/sw --mandir=/sw/share/man --infodir=/sw/ share/info --with-python-incdir=/sw/include/python2.5 \ --with- freetype2-libdir=/sw/lib/freetype219/lib --with-freetype2-incdir=/sw/ lib/freetype219/include/freetype2 \ --with-freetype-font-dir=/usr/ X11R6/lib/X11/fonts --with-gd-libdir=/sw/lib --with-gd-incdir=/sw/ include \ --with-java-home=/Library/Java/Home TCLLIBDIR=/sw/lib TKLIBDIR=/sw/lib AQTINCDIR=/sw/include/aquaterm \ --with-wxwidgets- bindir=/sw/bin \ --without-rpath --build=powerpc-apple-darwin --with- prebuiltdoc --with-onsgmls \ --with-pkg-config --with-pthreads --with- ltdlsystem --enable-f95 FC=gfortran F77=gfortran \ --enable-xterm -- with-x --disable-java \ --disable-dependency-tracking But the output you were showing at the beginning of this thread was clearly not following the --disable-dependency-tracking directive. Strange... Anyway, I found something weird here which might explain what is happening to you (BTW, the echo -n stuff is a red herring, annoying but harmless): The directory /sw/lib/wx/ has wrong permissions 644: drw-r--r-- 4 root admin 136 Mar 14 08:26 /sw/lib/wx/ This prevents the script /sw/bin/wx-config, which is a symlink to /sw/lib/wx/config/gtk2-unicode-release-2.8, from being executed, although the latter has permissions 755. I don't know if this has been like this already before or if it is a result of the recent security update, but it seems that you can't execute anything below a non-executable directory. Your situation is not quite the same as mine, because you were able to execute /sw/bin/wx-config, whereas I am not, but anyway you could try if chmod +x on that directory sudo chmod 755 /sw/lib/wx/ allows you to build plplot. Or, last question, did you perhaps build-as-nobody? If yes, don't. -- Martin - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On 27 Mar 2008, at 21:28, Martin Costabel wrote: Koen van der Drift wrote: [] File: plplot.infoStatus: Up-to-date Working revision:1.48 Repository revision: 1.48/cvsroot/fink/dists/10.4/unstable/ main/ finkinfo/sci/plplot.info,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: -ko Yes, that's the one I have built successfully here. There were and are quite a few different versions of this on CVS that all have the same version-revision. BTW, you *are* talking about plplot -5.8.0-1008, aren't you? No, it's plplot-5.8.0-1007, which is the same as on the website: http://pdb.finkproject.org/pdb/package.php/plplot My fault, sorry; I got confused by the many cvs diff's I looked at. I have -1007, too. There is indeed a -1008, but in the pangocairo branch. [] I get: configureparams: --prefix=/sw --mandir=/sw/share/man --infodir=/ sw/ share/info --with-python-incdir=/sw/include/python2.5 \ -- with- freetype2-libdir=/sw/lib/freetype219/lib --with-freetype2- incdir=/sw/ lib/freetype219/include/freetype2 \ --with-freetype- font-dir=/usr/ X11R6/lib/X11/fonts --with-gd-libdir=/sw/lib --with- gd-incdir=/sw/ include \ --with-java-home=/Library/Java/Home TCLLIBDIR=/sw/lib TKLIBDIR=/sw/lib AQTINCDIR=/sw/include/aquaterm \ --with-wxwidgets- bindir=/sw/bin \ --without-rpath -- build=powerpc-apple-darwin --with- prebuiltdoc --with-onsgmls \ -- with-pkg-config --with-pthreads --with- ltdlsystem --enable-f95 FC=gfortran F77=gfortran \ --enable-xterm -- with-x --disable-java \ --disable-dependency-tracking But the output you were showing at the beginning of this thread was clearly not following the --disable-dependency-tracking directive. Strange... Anyway, I found something weird here which might explain what is happening to you (BTW, the echo -n stuff is a red herring, annoying but harmless): The directory /sw/lib/wx/ has wrong permissions 644: drw-r--r-- 4 root admin 136 Mar 14 08:26 /sw/lib/wx/ Here : # ls -la /sw/lib/wx total 0 drwxr-xr-x4 root admin136 Jan 7 05:02 . drwxr-xr-x 6196 root admin 210664 Mar 27 15:10 .. drwxr-xr-x3 root admin102 Mar 25 03:47 config drwxr-xr-x3 root admin102 Jan 7 05:10 include and : # dpkg -c /sw/fink/debs/wxgtk2.8_2.8.7-7_darwin-i386.deb |egrep '/ sw/lib/wx/$' drwxr-xr-x root/admin0 2008-03-25 03:46 ./sw/lib/wx/ :) JF - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On 27 Mar 2008, at 22:10, Jean-François Mertens wrote: On 27 Mar 2008, at 21:28, Martin Costabel wrote: The directory /sw/lib/wx/ has wrong permissions 644: drw-r--r-- 4 root admin 136 Mar 14 08:26 /sw/lib/wx/ Here : # ls -la /sw/lib/wx total 0 drwxr-xr-x4 root admin136 Jan 7 05:02 . drwxr-xr-x 6196 root admin 210664 Mar 27 15:10 .. drwxr-xr-x3 root admin102 Mar 25 03:47 config drwxr-xr-x3 root admin102 Jan 7 05:10 include and : # dpkg -c /sw/fink/debs/wxgtk2.8_2.8.7-7_darwin-i386.deb |egrep '/ sw/lib/wx/$' drwxr-xr-x root/admin0 2008-03-25 03:46 ./sw/lib/wx/ Note that here the dir was installed with : /sw/bin/ginstall -c -d /sw/.bld/root-wxgtk2.8-2.8.7-7/sw/lib/wx/config But the man-pages of both /usr/bin/install and /sw/bin/ginstall specify that 755 is the default mode .. JF - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On Mar 27, 2008, at 4:28 PM, Martin Costabel wrote: The directory /sw/lib/wx/ has wrong permissions 644: drw-r--r-- 4 root admin 136 Mar 14 08:26 /sw/lib/wx/ This prevents the script /sw/bin/wx-config, which is a symlink to /sw/lib/wx/config/gtk2-unicode-release-2.8, from being executed, although the latter has permissions 755. I don't know if this has been like this already before or if it is a result of the recent security update, but it seems that you can't execute anything below a non-executable directory. Your situation is not quite the same as mine, because you were able to execute /sw/bin/wx-config, whereas I am not, but anyway you could try if chmod +x on that directory sudo chmod 755 /sw/lib/wx/ allows you to build plplot. Or, last question, did you perhaps build-as-nobody? If yes, don't. I did initially, but last time I just did a fink rebuild plplot, and still got the same error. The permissions for the wx files are: sudo ls -la /sw/lib/wx/ total 0 drw-r--r-- 4 root admin136 Jan 6 19:39 . drwxr-xr-x 1597 root admin 54298 Mar 26 22:07 .. drwxr-xr-x 3 root admin102 Mar 25 08:03 config drwxr-xr-x 3 root admin102 Jan 6 19:39 include and: exile:debs koen$ dpkg -c /sw/fink/debs/wxgtk2.8_2.8.7-7_darwin- powerpc.deb |egrep '/sw/lib/wx/$' drwxr-xr-x root/admin0 2008-03-25 08:01 ./sw/lib/wx/ I'll try the sudo chmod, and rebuild plplot. - Koen. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On Mar 27, 2008, at 4:28 PM, Martin Costabel wrote: Your situation is not quite the same as mine, because you were able to execute /sw/bin/wx-config, whereas I am not, but anyway you could try if chmod +x on that directory sudo chmod 755 /sw/lib/wx/ That did the trick, plplot now build fine. Another proof is that the wx-config command now works as expected: exile:~ koen$ wx-config --cflags -I/sw/lib/wx/include/gtk2-unicode-release-2.8 -I/sw/include/wx-2.8 - D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ Is this something that needs to be fixed in the wxgtk2.8 package? The email address of the maintainer bounced for me, so I cannot inform him. Martin and Jean-François. thanks for the help! - Koen. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On 28 Mar 2008, at 00:33, Koen van der Drift wrote: On Mar 27, 2008, at 4:28 PM, Martin Costabel wrote: sudo chmod 755 /sw/lib/wx/ That did the trick, plplot now build fine. Another proof is that the wx-config command now works as expected: Is this something that needs to be fixed in the wxgtk2.8 package? The email address of the maintainer bounced for me, so I cannot inform him. I don't think so : it rather seems a problem of dpkg installing (on some systems) files with different perms than they have in the deb : compare your output of dpkg -c with your ls -l .. The pkg can only take care that the deb be correct, after it is dpkg's problem. I would be completely unreasonable to have huge postinstscripts correcting all mistakes dpkg might be doing. Martin: your output of dpkg -c was correct too, I guess ? JF - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
Jean-François Mertens wrote: On 27 Mar 2008, at 12:58, Jean-François Mertens wrote: Koen, could you test if replacing '/bin/sh' by '/bin/bash' on the first line of the compilescript makes your problems go away ? (Or at least those '-n' ..) Did the -n indeed go away ? (Sorry, have 10.5 system to check, and better fix that 'red-herring too :) JF - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On Mar 27, 2008, at 12:18 PM, Jean-François Mertens wrote: Too many pkgs have such 'echo -n' _ we need a simple solution. Koen, could you test if replacing '/bin/sh' by '/bin/bash' on the first line of the compilescript makes your problems go away ? (Or at least those '-n' ..) I still get all those -n 's. And after changing to the bash script plplot still builds fine, with and without build-as-nobody. - Koen. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On 26 Mar 2008, at 14:56, Koen van der Drift wrote: Hi, On my system plplot fails to build because it is unable to find the wx headers (wx.h). According to one of the plplot developers, running wx-config should tell where the headers are: exile:wx koen$ wx-config --cflags -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 - D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ Which I don't understand, because I have wxgtk2.8 installed through fink, and /sw/bin is in my PATH. I do get the correct header location when I explicitly run the fink wx-config: exile:wx koen$ /sw/bin/wx-config --cflags -I/sw/lib/wx/include/gtk2-unicode-release-2.8 -I/sw/include/wx-2.8 - D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ Any thoughts on why on my system the wrong wxgtk2.8 is found by wx- config? I'm not at my Mac now, so cannot print the PATH, but I checked last night, and /sw/bin/ is before /usr/bin in my PATH. what is even more perplexing is that, even if your PATH was wrong (which still seems possible ..), it still should be correct during a fink build; and even if it was not, plplot has --with-wxwidgets-bindir=%p/bin among its configureparams, which should force that wx-config. And your symlink /sw/bin/wx-config seems valid, and to point to the right file, with executable perms, given the output you show above.. You don't show the actual error ... Here ya go :) ... if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../include -I/sw/lib/ freetype219/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/ glib-2.0/include -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/ X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/ sw/lib/gtk-2.0/include -I/sw/include/libart-2.0 -I/sw/include/libxml2 - I/sw/include -I/sw/include/libgnomecanvas-2.0 -I/sw/include/ libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2 -I/sw/include/ glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pygtk-2.0-g -O2 - MT wxwidgets.lo -MD -MP -MF .deps/wxwidgets.Tpo -c -o wxwidgets.lo wxwidgets.cpp; \ then mv -f .deps/wxwidgets.Tpo .deps/wxwidgets.Plo; else rm -f .deps/wxwidgets.Tpo; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../ include -I/sw/lib/freetype219/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/usr/X11R6/ include -I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/ include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libart-2.0 -I/ sw/include/libxml2 -I/sw/include -I/sw/include/libgnomecanvas-2.0 -I/ sw/include/libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2 -I/sw/ include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pygtk-2.0 -g -O2 -MT wxwidgets.lo -MD -MP -MF .deps/wxwidgets.Tpo -c wxwidgets.cpp -fno-common -DPIC -o .libs/wxwidgets.o wxwidgets.cpp:52:19: error: wx/wx.h: No such file or directory wxwidgets.cpp:53:23: error: wx/except.h: No such file or directory wxwidgets.cpp:54:22: error: wx/image.h: No such file or directory wxwidgets.cpp:55:24: error: wx/filedlg.h: No such file or directory wxwidgets.cpp:56:24: error: wx/display.h: No such file or directory ... - Koen. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On 26 Mar 2008, at 14:56, Koen van der Drift wrote: Hi, On my system plplot fails to build because it is unable to find the wx headers (wx.h). According to one of the plplot developers, running wx-config should tell where the headers are: exile:wx koen$ wx-config --cflags -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 - D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ Which I don't understand, because I have wxgtk2.8 installed through fink, and /sw/bin is in my PATH. I do get the correct header location when I explicitly run the fink wx-config: exile:wx koen$ /sw/bin/wx-config --cflags -I/sw/lib/wx/include/gtk2-unicode-release-2.8 -I/sw/include/wx-2.8 - D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ Any thoughts on why on my system the wrong wxgtk2.8 is found by wx- config? I'm not at my Mac now, so cannot print the PATH, but I checked last night, and /sw/bin/ is before /usr/bin in my PATH. what is even more perplexing is that, even if your PATH was wrong (which still seems possible ..), it still should be correct during a fink build; and even if it was not, plplot has --with-wxwidgets-bindir=%p/bin among its configureparams, which should force that wx-config. And your symlink /sw/bin/wx-config seems valid, and to point to the right file, with executable perms, given the output you show above.. You don't show the actual error ... JF Mertens - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On 27 Mar 2008, at 01:21, Koen van der Drift wrote: On Mar 26, 2008, at 12:14 PM, Jean-François Mertens wrote: Right, wx's cflags are missing from the libtool command (in particular -I/sw/include/wx-2.8). Is it really fink's info file you are using for plplot ?? I get there instead a command starting without if : Yeah, I checked my local directory, and there's no plplot info file present. doesn't necessarily imply there is no diff .. Can you do a 'fink dumpinfo -finfofile plplot', just to be sure it the one in unstable, then a cvs diff on that file ? Not that this change (--enable-dependency-tracking ?) seems particularly relevant, but others might be .. What do you see for WXWIDGETSINCCMD in your config.log ? That gives: WXWIDGETSINCCMD='' (and WXWIDGETSLIBCMD=' ') And my PATH is: /sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ local/bin:/usr/X11/bin:/usr/X11R6/bin One other thing I noticed, if I look at the terminal during the configure, I also see this: ... configure: User-specified path to the wxwidgets config file is /sw/ bin -n -n -n -n -n -n -n -n -n -n -n -n -n -n -n Are all those -n's normal, I don't see them in the config.log? here : configure: User-specified path to the wxwidgets config file is /sw/ bin checking for dirname... dirname And # fgrep -n 'dirname wxwidgets config' config.log 1434:configure:33394: User-specified path to the wxwidgets config file is /sw/bin 1435:configure:35699: checking for dirname 1436:configure:35715: found /sw/bin/dirname 1437:configure:35726: result: dirname (you'll probably find /usr/bin/dirname there, but that's immaterial) So that tells you roughly the range of lines in configure where to look (cat -n configure |fgrep -C1200 34550) (and look also at this part of config.log) Since it is longish, I really suggest you do the cvs diff before .. JF - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On Mar 26, 2008, at 9:57 PM, Jean-François Mertens wrote: On 27 Mar 2008, at 01:21, Koen van der Drift wrote: On Mar 26, 2008, at 12:14 PM, Jean-François Mertens wrote: Right, wx's cflags are missing from the libtool command (in particular -I/sw/include/wx-2.8). Is it really fink's info file you are using for plplot ?? I get there instead a command starting without if : Yeah, I checked my local directory, and there's no plplot info file present. doesn't necessarily imply there is no diff .. Can you do a 'fink dumpinfo -finfofile plplot', just to be sure it the one in unstable, then a cvs diff on that file ? exile:~ koen$ fink dumpinfo -finfofile plplot Information about 6788 packages read in 7 seconds. infofile: /sw/fink/dists/unstable/main/finkinfo/sci/plplot.info exile:~ koen$ cd /sw/fink/dists/unstable/main/finkinfo/sci/ exile:sci koen$ cvs diff plplot.info [EMAIL PROTECTED]'s password: exile:sci koen$ So it seems to be the correct file. Are all those -n's normal, I don't see them in the config.log? here : configure: User-specified path to the wxwidgets config file is /sw/ bin checking for dirname... dirname And # fgrep -n 'dirname wxwidgets config' config.log 1434:configure:33394: User-specified path to the wxwidgets config file is /sw/bin 1435:configure:35699: checking for dirname 1436:configure:35715: found /sw/bin/dirname 1437:configure:35726: result: dirname configure:33400: User-specified path to the wxwidgets config file is / sw/bin configure:35705: checking for dirname configure:35721: found /usr/bin/dirname configure:35732: result: dirname - Koen. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
I see a lot of echo -n in the part of the configure script I mentioned.. What does echo -n A yield on your system ? JF - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On Mar 26, 2008, at 10:23 PM, Jean-François Mertens wrote: What does echo -n A yield on your system ? exile:~ koen$ echo -n A Aexile:~ koen$ echo -n A - Koen. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On 27 Mar 2008, at 03:30, Koen van der Drift wrote: On Mar 26, 2008, at 10:23 PM, Jean-François Mertens wrote: What does echo -n A yield on your system ? exile:~ koen$ echo -n A Aexile:~ koen$ echo -n A too bad .. going to sleep. JF - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] wxgtk2.8 and plplot
On 27 Mar 2008, at 03:39, Jean-François Mertens wrote: On 27 Mar 2008, at 03:30, Koen van der Drift wrote: On Mar 26, 2008, at 10:23 PM, Jean-François Mertens wrote: What does echo -n A yield on your system ? exile:~ koen$ echo -n A Aexile:~ koen$ echo -n A too bad .. going to sleep. should have also asked to execute under /bin/sh .. : # /bin/sh sh-2.05b# echo -n A Ash-2.05b# exit JF - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel