Install Lablgtk 2.1 using MacPorts

AngelaZhu angela22.zhu at gmail.com
Fri Feb 15 21:27:36 PST 2008


Thanks!
It helps with the previous problem, however, then it find "gdk-pixbuf"
is out of date, so I try to upgrade it and got the following new error msg 
in the bottom. Do you have any idea? 

Thanks a lot

-- 
Regards,
Angela Zhu
------------------------------------------
Dept. of CS, Rice University
http://www.cs.rice.edu/~yz2/
------------------------------------------ 

------------------------------------------ 
$ sudo port upgrade gdk-pixbuf
--->  Building tiff with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.8.2"
&& make all " returned error 2
Command output: Making all in port
make[1]: Nothing to be done for `all'.
Making all in libtiff
make  all-am
Making all in tools
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff
-I../libtiff  -I/opt/local/include -I/opt/local/include -I/opt/local/include
-O2 -Wall -W   -O2 -Wall -W -MT tiffgt-tiffgt.o -MD -MP -MF
".deps/tiffgt-tiffgt.Tpo" -c -o tiffgt-tiffgt.o `test -f 'tiffgt.c' || echo
'./'`tiffgt.c; \
then mv -f ".deps/tiffgt-tiffgt.Tpo" ".deps/tiffgt-tiffgt.Po"; else rm -f
".deps/tiffgt-tiffgt.Tpo"; exit 1; fi
In file included from tiffgt.c:36:
/opt/local/include/GLUT/glut.h:58:19: error: GL/gl.h: No such file or
directory
/opt/local/include/GLUT/glut.h:59:20: error: GL/glu.h: No such file or
directory
tiffgt.c: In function 'raster_keys':
tiffgt.c:303: warning: unused parameter 'x'
tiffgt.c:303: warning: unused parameter 'y'
tiffgt.c: In function 'raster_special':
tiffgt.c:348: warning: unused parameter 'x'
tiffgt.c:348: warning: unused parameter 'y'
make[1]: *** [tiffgt-tiffgt.o] Error 1
make: *** [all-recursive] Error 1

Error: Unable to upgrade port: 1
------------------------------------------ 




It sounds like you have glib2 version 2.12.13 but lablgtk 2.1  
requires at least glib2 version 2.13.4.

The current version of glib2 in MacPorts is 2.14.6 so you should  
update to that version:

$ sudo port selfupdate
$ sudo port upgrade glib2

Then see if anything else is outdated and needs upgrading, and if so,  
upgrade those ports:

$ port outdated

Then try installing lablgtk again.

_______________________________________________
macports-users mailing list
macports-users at lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



-- 
View this message in context: http://www.nabble.com/Install-Lablgtk-2.10-using-MacPorts-tp15513214p15515005.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.



More information about the macports-users mailing list