Re: [Fink-users] gtk+2-2.6.10-1004 Phase Compiling Failed on Leopard 10.5.2

2008-06-16 Thread Martin Costabel
Luke Iannini wrote:
 David Glick dglick at gmail.com writes:
 Thanks, I confirmed that fixing the .la file corrected the issue, and  
 filed a ticket:
 http://trac.macosforge.org/projects/xquartz/ticket/76

 David
 
 Hi, even after installing the XQuartz 2.2.2 package,
 I was still running into error: X Development libraries not found.
 
 After two days of work I finally stumbled into:
 fink install xmkmf
 
 then adding:
 export PATH=/sw/lib/xmkmf/bin/:/sw/bin:$PATH
 
 to ~/.bash_login and restarted Terminal.

This is not a solution. The problem has to be fixed globally in Fink.
In the case of gtk+2-2.6.10, there is indeed something to fix (and it is 
fixed now). Currently, the procedure is to fix each package that shows 
this kind of error individually, once the error has been reported (there 
is no automatic detection procedure yet).

-- 
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://sourceforge.net/services/buy/index.php
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] cernlib won't install on my new MacBook Air

2008-06-16 Thread Remi Mommsen
Hi Jess,

On Jun 12, 2008, at 8:55 PM, Jess H. Brewer wrote:

 I just discovered what might be the problem:
 _
 making Makefiles in /patchy...
 cd /sw/src/fink.build/cernlib2005-gfortran-2005-2012/2005/src/ 
 cernlib/2005/bin/;\
if [ -f ../../patchy/4.15/bin/ycompar ] ; then \
ln -s ../../patchy/4.15/bin/ycompar ycompar; \
else  \
echo ycompar not linked, not existing;\
fi
 ycompar not linked, not existing

I guess that's the root cause of your problem. ycompar should be  
installed by patchy4-gfortran under /sw/bin. Do you have this file?

Otherwise, try to rebuild patchy4-gfortran. Can you send me (off-list)  
the build log of it?

Thanks, 
Remi


--
I haven't lost my mind - it's backed up on my disk somewhere.

*
Remigius K. Mommsen e-mail:  [EMAIL PROTECTED]
Fermilab   URL:http://cern.ch/mommsen
CERN 40 2-B06voice:   +41 22 767 1621
CH-1211 Genève 23   mobile:   +41 76 487 2535
Switzerlandfax:   +41 22 767 8940
*




-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Compilation failure for libftgl1-2.1.2-1 (10.4/unstable)

2008-06-16 Thread Remi Mommsen
Hi,

I try to compile libftgl1 on 10.5/i386 (from the 10.4/unstable  
branch). It fails with the following error message:

rm -f .libs/FTVectoriser.lo
g++ -c -I../../include -I/sw/include -g -O2 -I/usr/X11/include/ 
freetype2 -I/usr/X11/include ../../src/FTVectoriser.cpp  -fno-common - 
DPIC -o .libs/FTVectoriser.lo
../../src/FTVectoriser.cpp: In member function 'void  
FTVectoriser::MakeMesh(FTGL_DOUBLE)':
../../src/FTVectoriser.cpp:186: error: invalid conversion from 'GLvoid  
(*)(...)' to 'GLvoid (*)()'
../../src/FTVectoriser.cpp:186: error:   initializing argument 3 of  
'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
../../src/FTVectoriser.cpp:187: error: invalid conversion from 'GLvoid  
(*)(...)' to 'GLvoid (*)()'
../../src/FTVectoriser.cpp:187: error:   initializing argument 3 of  
'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
../../src/FTVectoriser.cpp:188: error: invalid conversion from 'GLvoid  
(*)(...)' to 'GLvoid (*)()'
../../src/FTVectoriser.cpp:188: error:   initializing argument 3 of  
'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
../../src/FTVectoriser.cpp:189: error: invalid conversion from 'GLvoid  
(*)(...)' to 'GLvoid (*)()'
../../src/FTVectoriser.cpp:189: error:   initializing argument 3 of  
'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
../../src/FTVectoriser.cpp:190: error: invalid conversion from 'GLvoid  
(*)(...)' to 'GLvoid (*)()'
../../src/FTVectoriser.cpp:190: error:   initializing argument 3 of  
'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
make[1]: *** [FTVectoriser.lo] Error 1
g++ -g -O2 -I../../include -I/sw/include -I/usr/X11/include/freetype2 - 
I/usr/X11/include -I../../src  -c -o FTGLDemo.o ../../demo/FTGLDemo.cpp
gcc -g -O2 -I../../include -I/sw/include -I/usr/X11/include/freetype2 - 
I/usr/X11/include -I../../src  -c -o tb.o ../../demo/tb.c
gcc -g -O2 -I../../include -I/sw/include -I/usr/X11/include/freetype2 - 
I/usr/X11/include -I../../src  -c -o trackball.o ../../demo/trackball.c
/bin/sh ../libtool --mode=link g++ FTGLDemo.o tb.o trackball.o -o  
FTGLDemo ../src/libftgl.la   -L/usr/X11/lib -lfreetype -lz -Wl,- 
framework,CoreServices,-framework,ApplicationServices -Wl,- 
framework,GLUT -Wl,-framework,OpenGL -lobjc
mkdir .libs
libtool: link: cannot find the library `../src/libftgl.la'
make[1]: *** [FTGLDemo] Error 1


I'm using the Apple g++ compiler:
g++ --version
i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)


Any idea why it does not work?

Remi




--
… there are known knowns;  there are things we know we know.  We also
know there are known unknowns;  that is to say we know there are some
things we do not know. But there are also unknown unknowns — the ones
we don’t know we don’t know.
   Donald Rumsfeld
*
Remigius K. Mommsen e-mail:  [EMAIL PROTECTED]
Fermilab   URL:http://cern.ch/mommsen
CERN 40 2-B06voice:   +41 22 767 1621
CH-1211 Genève 23   mobile:   +41 76 487 2535
Switzerlandfax:   +41 22 767 8940
*





--
Q: How many kinds of physicists are there?
A: Three. Those who can count and those who can't.

*
Remigius K. Mommsen e-mail:  [EMAIL PROTECTED]
Fermilab   URL:http://cern.ch/mommsen
CERN 40 2-B06voice:   +41 22 767 1621
CH-1211 Genève 23   mobile:   +41 76 487 2535
Switzerlandfax:   +41 22 767 8940
*







-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Compilation failure for libftgl1-2.1.2-1 (10.4/unstable)

2008-06-16 Thread Daniel Macks
On Mon, Jun 16, 2008 at 02:01:59PM +0200, Remi Mommsen wrote:
 Hi,
 
 I try to compile libftgl1 on 10.5/i386 (from the 10.4/unstable  
 branch). It fails with the following error message:
 
 rm -f .libs/FTVectoriser.lo
 g++ -c -I../../include -I/sw/include -g -O2 -I/usr/X11/include/ 
 freetype2 -I/usr/X11/include ../../src/FTVectoriser.cpp  -fno-common - 
 DPIC -o .libs/FTVectoriser.lo
 ../../src/FTVectoriser.cpp: In member function 'void  
 FTVectoriser::MakeMesh(FTGL_DOUBLE)':
 ../../src/FTVectoriser.cpp:186: error: invalid conversion from 'GLvoid  
 (*)(...)' to 'GLvoid (*)()'
 ../../src/FTVectoriser.cpp:186: error:   initializing argument 3 of  
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
 ../../src/FTVectoriser.cpp:187: error: invalid conversion from 'GLvoid  
 (*)(...)' to 'GLvoid (*)()'
 ../../src/FTVectoriser.cpp:187: error:   initializing argument 3 of  
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
 ../../src/FTVectoriser.cpp:188: error: invalid conversion from 'GLvoid  
 (*)(...)' to 'GLvoid (*)()'
 ../../src/FTVectoriser.cpp:188: error:   initializing argument 3 of  
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
 ../../src/FTVectoriser.cpp:189: error: invalid conversion from 'GLvoid  
 (*)(...)' to 'GLvoid (*)()'
 ../../src/FTVectoriser.cpp:189: error:   initializing argument 3 of  
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
 ../../src/FTVectoriser.cpp:190: error: invalid conversion from 'GLvoid  
 (*)(...)' to 'GLvoid (*)()'
 ../../src/FTVectoriser.cpp:190: error:   initializing argument 3 of  
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
 make[1]: *** [FTVectoriser.lo] Error 1

That source (and the whole package) builds for me on 10.4/powerpc.
Given that you have some compiling happening after the error:

 g++ -g -O2 -I../../include -I/sw/include -I/usr/X11/include/freetype2 - 
 I/usr/X11/include -I../../src  -c -o FTGLDemo.o ../../demo/FTGLDemo.cpp
 gcc -g -O2 -I../../include -I/sw/include -I/usr/X11/include/freetype2 - 
 I/usr/X11/include -I../../src  -c -o tb.o ../../demo/tb.c
 gcc -g -O2 -I../../include -I/sw/include -I/usr/X11/include/freetype2 - 
 I/usr/X11/include -I../../src  -c -o trackball.o ../../demo/trackball.c
 /bin/sh ../libtool --mode=link g++ FTGLDemo.o tb.o trackball.o -o  
 FTGLDemo ../src/libftgl.la   -L/usr/X11/lib -lfreetype -lz -Wl,- 
 framework,CoreServices,-framework,ApplicationServices -Wl,- 
 framework,GLUT -Wl,-framework,OpenGL -lobjc
 mkdir .libs
 libtool: link: cannot find the library `../src/libftgl.la'
 make[1]: *** [FTGLDemo] Error 1

...do I presume you have some sort of multiprocessing happening (a -j
in your MAKEFLAGS)? Maybe disabling that would help. You could try
editing the .info file to have make -j1 instead of just make in
the CompileScript.

There are other bugs in the package itself (I just committed a missing
GCC:4.0, and there are deps on ft219 but it it is not used but it
self-consistently would use x11's ft).

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] cernlib won't install on my new MacBook Air

2008-06-16 Thread Martin Costabel
Remi Mommsen wrote:
 
 Hi Jess,
 
 On Jun 12, 2008, at 8:55 PM, Jess H. Brewer wrote:
[]
 /sw/src/fink.build/cernlib2005-gfortran-2005-2012/2005/src/cernlib/2005/bin/;
 
 \
if [ -f ../../patchy/4.15/bin/ycompar ] ; then \
ln -s ../../patchy/4.15/bin/ycompar ycompar; \
else  \
echo ycompar not linked, not existing;\
fi
 ycompar not linked, not existing
 
 I guess that's the root cause of your problem. ycompar should be 
 installed by patchy4-gfortran under /sw/bin. Do you have this file?

I don't believe this is the problem. I see the same thing in a log file 
of a successful build.

The real problem is here:

 /sw/src/fink.build/cernlib2005-gfortran-2005-2011/2005/src/patchy/yexpand: 
 line 
 30: fink-build-HOME.hbAUwGTKoq/nypatchy.cra.yexp: No such file or directory

This fink-build-etc path should be preceded with something like 
/var/folders/I5/I5XYEUYz2RWfpk+8ZKtEUTI/-Tmp-/ or perhaps /tmp/, but 
not just with nothing.

Somehow the perl function File::Temp::tempdir() does not work correctly 
here. I suspect that Jess has either played around with his perl and 
installed something harmful or he managed to set some environment 
variable that prevents the tempdir function from doing its job.

Jess, if you run the following command by hand (1 line, in bash you can 
enter it also as 3 lines):

perl -e 'use File::Temp qw(tempdir);
my $T=tempdir(fink-build-HOME.XX,TMPDIR = 1,CLEANUP = 1);
print $T.\n'

The result should be something like

/var/folders/I5/I5XYEUYz2RWfpk+8ZKtEUTI/-Tmp-/fink-build-HOME.HX5dJdtKii

-- 
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://sourceforge.net/services/buy/index.php
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] wxmaxima link failed

2008-06-16 Thread James McKenzie
北野 萌一 wrote:

 On 2008/06/14, at 11:17, James McKenzie wrote:

 Alexander Hansen wrote:
 On Jun 13, 2008, at 2:18 AM, 北野 萌一 wrote:


 On 2008/06/10, at 21:10, Alexander Hansen wrote:


 On Jun 10, 2008, at 7:04 AM, 北野 萌一 wrote:


 coredll_tipwin.o coredll_toolbkg.o coredll_treectlg.o
 coredll_treebkg.o coredll_vlbox.o coredll_vscroll.o -L/sw/src/
 fink.build/wxmac28-2.8.3-1001/wxMac-2.8.3/lib -framework QuickTime -
 framework IOKit -framework Carbon -framework Cocoa -framework
 System -L/sw/src/fink.build/wxmac28-2.8.3-1001/wxMac-2.8.3/lib -
 install_name /sw/lib/libwx_mac_core-2.8.0.dylib -
 compatibility_version 2.0 -current_version 2.1 -lz -lpthread -
 liconv -lpng -lz -ljpeg -ltiff -framework WebKit -framework
 QuickTime -framework IOKit -framework Carbon -framework Cocoa -
 framework System -lz -lpthread -liconv -lwx_base_carbon-2.8
 ld: /System/Library/Frameworks/WebKit.framework/WebKit load command
 19 unknown cmd field

 This looks like the WebKit error occurs here.
 /usr/bin/libtool: internal link edit command failed
 make: *** [/sw/src/fink.build/wxmac28-2.8.3-1001/wxMac-2.8.3/lib/
 libwx_mac_core-2.8.0.1.1.dylib] Error 1
 ### execution of make failed, exit code 2
 Removing runtime build-lock...
 Removing build-lock package...

 What operating system version and architecture are you running?





 Mac OS X 10.4.11 build:8S165  Serial numbe:W8415003P21



 Please respond to the list, not just to me.

 Intel or PowerPC?


 Looks like the WebKit error. I don't know what to do to find out which
 kit you have, but what version of Safari do you have installed?

 To reply to this message, please click on 'Reply All' as the mailing
 list will not be included if you click on 'Reply To'

 James McKenzie

 PowerPC and Safari is version 3.1.1(4525.18)

Time for a bug report.

James McKenzie


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users