port: libglut

Jorge Aldana jorge at salk.edu
Wed Feb 18 16:36:03 PST 2004

Hello I'm having this compile issue with libglut, anyone know whats up? It
basically fails at this line (see attached text file as well with pkg_info and
compile try), today's cvsup on ports and Stable:

cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c layerutil.c
-o layerutil.o
building static glut library
ranlib libglut.a
cc -fpic -DPIC -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c
glut_8x13.c -o glut_8x13.So
/usr/libexec/elf/ld: cannot find -lGL
*** Error code 1


-------------- next part --------------
===>  Vulnerability check disabled
>> MesaDemos-5.0.2.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from http://us.dl.sourceforge.net/mesa3d/.
Receiving MesaDemos-5.0.2.tar.bz2 (901632 bytes): 100%
901632 bytes transferred in 2.1 seconds (428.09 kBps)
===>  Extracting for libglut-5.0.2
>> Checksum OK for MesaDemos-5.0.2.tar.bz2.
===>  Patching for libglut-5.0.2
/bin/cp /usr/ports/graphics/libglut/files/Makefile /usr/ports/graphics/libglut/work/Mesa-5.0.2/src-glut/
===>   libglut-5.0.2 depends on shared library: X11.6 - found
===>  Configuring for libglut-5.0.2
===>  Building for libglut-5.0.2
Warning: Object directory not changed from original /usr/ports/graphics/libglut/work/Mesa-5.0.2/src-glut
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_8x13.c -o glut_8x13.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_9x15.c -o glut_9x15.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_bitmap.c -o glut_bitmap.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_bwidth.c -o glut_bwidth.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_cindex.c -o glut_cindex.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_cmap.c -o glut_cmap.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_cursor.c -o glut_cursor.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_dials.c -o glut_dials.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_dstr.c -o glut_dstr.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_event.c -o glut_event.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_ext.c -o glut_ext.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_fbc.c -o glut_fbc.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_fullscrn.c -o glut_fullscrn.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_gamemode.c -o glut_gamemode.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_get.c -o glut_get.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_glxext.c -o glut_glxext.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_hel10.c -o glut_hel10.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_hel12.c -o glut_hel12.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_hel18.c -o glut_hel18.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_init.c -o glut_init.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_input.c -o glut_input.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_joy.c -o glut_joy.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_key.c -o glut_key.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_keyctrl.c -o glut_keyctrl.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_keyup.c -o glut_keyup.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_menu.c -o glut_menu.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_menu2.c -o glut_menu2.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_mesa.c -o glut_mesa.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_modifier.c -o glut_modifier.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_mroman.c -o glut_mroman.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_overlay.c -o glut_overlay.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_roman.c -o glut_roman.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_shapes.c -o glut_shapes.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_space.c -o glut_space.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_stroke.c -o glut_stroke.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_swap.c -o glut_swap.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_swidth.c -o glut_swidth.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_tablet.c -o glut_tablet.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_teapot.c -o glut_teapot.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_tr10.c -o glut_tr10.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_tr24.c -o glut_tr24.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_util.c -o glut_util.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_vidresize.c -o glut_vidresize.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_warp.c -o glut_warp.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_win.c -o glut_win.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_winmisc.c -o glut_winmisc.o
cc -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c layerutil.c -o layerutil.o
building static glut library
ranlib libglut.a
cc -fpic -DPIC -O -pipe -march=pentiumpro -I../include -I/usr/X11R6/include  -c glut_8x13.c -o glut_8x13.So
/usr/libexec/elf/ld: cannot find -lGL
*** Error code 1

Stop in /usr/ports/graphics/libglut/work/Mesa-5.0.2/src-glut.
*** Error code 1

Stop in /usr/ports/graphics/libglut.


pkg_info | more
ImageMagick- Image processing tools
WordNet-1.7.1       Dictionaries and thesauri with devel. libraries (C, TCL) an
XFree86-4.3.0,1     X11/XFree86 core distribution (complete, using mini/meta-po
XFree86-FontServer-4.3.0_3 XFree86-4 font server
XFree86-Server-4.3.0_14 XFree86-4 X server and related programs
XFree86-clients-4.3.0_6 XFree86-4 client programs and related files
XFree86-documents-4.3.0 XFree86-4 documentation
XFree86-font100dpi-4.3.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.3.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.3.0 XFree86-4 Cyrillic fonts
XFree86-fontDefaultBitmaps-4.3.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.3.0 XFree86-4 font encoding files
XFree86-fontScalable-4.3.0 XFree86-4 scalable fonts
XFree86-libraries-4.3.0_6 XFree86-4 libraries and headers
Xft-2.1.2           A client-sided font API for X applications
arts-1.2.0,1        Audio system for the KDE integrated X11 desktop
aspell-0.50.5       Spelling checker with better suggestion logic than ispell
autoconf-2.13.000227_5 Automatically configure source code on many Un*x platforms 
autoconf-2.53_1     Automatically configure source code on many Un*x platforms
automake-1.4.5_9    GNU Standards-compliant Makefile generator (legacy version 
automake-1.5,1      GNU Standards-compliant Makefile generator
cups-base-  The Common UNIX Printing System: headers, libs, & daemons
cvsup-16.1h         General network file distribution system optimized for CVS 
dri-4.3.0,1         OpenGL hardware acceleration drivers for XFree86
expat-1.95.6_1      XML 1.0 parser written in C
ezm3-1.1            Easier, more portable Modula-3 distribution for building CV
fam-2.6.9_4         A file alteration monitor
fontconfig-2.2.90_3 An XML-based font configuration API for X Windows
freetype2-2.1.5_1   A free and portable TrueType font rendering engine
fribidi-0.10.4_1    A Free Implementation of the Unicode Bidirectional Algorith
gettext-0.12.1      GNU gettext package
gettext-0.13.1      GNU gettext package
ghostscript-gnu-7.07_6 GNU Postscript interpreter
glib-2.2.3_1        Some useful routines of C programming (current stable versi
gmake-3.80_1        GNU version of 'make' utility
gnupg-1.2.4_1       The GNU Privacy Guard
graphviz-1.10_2     Graph Visualization Software from AT&T and Bell Labs
help2man-1.29       Automatically generating simple manual pages from program o
imake-4.3.0_2       Imake and other utilities from XFree86
jasper-1.700.5      An implementation of the codec specified in the JPEG-2000 s
jbigkit-1.5         Lossless compression for bi-level images such as scanned pa
jpeg-6b_1           IJG's jpeg compression utilities
kdebase-3.2.0_1     Basic applications for the KDE system
kdegames-3.2.0      Games for the KDE integrated X11 desktop
kdelibs-3.2.0       Base set of libraries needed by KDE programs
kdenetwork-3.2.0    Network-related programs and modules for KDE
kdeutils-3.2.0_2    Utilities for the KDE integrated X11 desktop
koffice-1.3,1       Office Suite for KDE3
lcms-1.09_1,1       Light Color Management System -- a color management library
libart_lgpl2-2.3.16 Library for high-performance 2D graphics
libaudiofile-0.2.5  A sound library for SGI audio file
libfpx-      Library routines for working with Flashpix images
libgnugetopt-1.2    GNU getopt library
libiconv-1.9.1_3    A character set conversion library
libmad-0.15.0b      Libmad library (part of MAD project)
libmng-1.0.5_1      Multiple-image Network Graphics (MNG) reference library
libmpeg2-0.3.1_1    A free library for decoding mpeg-2 and mpeg-1 video streams
libogg-1.1,3        Ogg bitstream library
libpaper-1.1.14     A library providing routines for paper size management
libtool-1.3.5_1     Generic shared library support script
libtool-1.4.3_3     Generic shared library support script (version 1.4)
libvorbis-1.0.1,3   Audio compression codec library
libwmf-      Tools and library for converting Microsoft WMF (windows met
libxml2-2.6.6       Xml parser library for GNOME
libxslt-1.1.2_3     The XSLT C library for GNOME
linux_base-7.1_7    The base set of packages needed in Linux mode
m4-1.4_1            GNU m4
nvidia-driver-1.0.4365_2 NVidia graphics card binary drivers for hardware OpenGL ren
open-motif-2.2.2_2  Motif X11 Toolkit (industry standard GUI (IEEE 1295))
openldap-client-2.1.26 Open source LDAP client implementation
pcre-4.5            Perl Compatible Regular Expressions library
pkgconfig-0.15.0    A utility used to retrieve information about installed libr
png-1.2.5_3         Library for manipulating PNG images
popt-1.6.4_2        A getopt(3) like library with a number of enhancements, fro
portupgrade-20040113 FreeBSD ports/packages administration and management tool s
python-2.3.3_1      An interpreted object-oriented programming language
qmake-3.2.3_1       The build utility of the Qt project
qt-3.2.3            A C++ X GUI toolkit
rpm-3.0.6_9         The Red Hat Package Manager
ruby- An object-oriented interpreted scripting language
ruby-bdb1-0.2.1     Ruby interface to Berkeley DB revision 1.8x with full featu
ruby-shim-ruby18-1.8.1.p3 A set of Ruby modules to provide Ruby 1.8 functionalities
samba-libsmbclient-3.0.1 The shared lib from the samba packages
tcl-8.3.5_2         Tool Command Language
tcl-8.4.5,1         Tool Command Language
tiff-3.6.1_1        Tools and library routines for working with TIFF images
tk-8.3.5_2          Graphical toolkit for TCL
tk-8.4.5,1          Graphical toolkit for TCL
unix2dos-1.3        Translate ASCII files from DOS (cr/lf) to UNIX (lf)
unzip-5.50_2        List, test and extract compressed files in a ZIP archive
wrapper-1.0_3       Wrapper for XFree86-4 server

More information about the freebsd-ports mailing list