Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13806 closed defect (fixed)

glut fails to compile (intel, leopard)

Reported by: albatros@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

colin@tigger:/opt/macports-1.6.0/var/macports> sudo port install glut
--->  Fetching glut
--->  Verifying checksum(s) for glut
--->  Extracting glut
--->  Applying patches to glut
--->  Configuring glut
--->  Building glut with target all
Error: Target org.macports.build returned: shell command "cd /opt/macports-1.6.0/var/macports/build/_opt_macports-1.6.0_var_macports_sources_rsync.macports.org_release_ports_graphics_glut/work/glut-3.7/lib/glut ; c++ -flat_namespace -dynamiclib -o libglut.3.7.dylib -install_name /opt/macports-1.6.0/lib/libglut.3.dylib -compatibility_version 3.7 -current_version 3.7 -all_load libglut.a -L/usr/X11R6/lib -lGL -lGLU -lX11 -lXmu -lXi -lXext -lXt -lICE -lSM" returned error 1
Command output:   "_glGetError", referenced from:
      _glutReportErrors in libglut.a(glut_util.o)
  "_glPushMatrix", referenced from:
      _teapot in libglut.a(glut_teapot.o)
  "_glEnable", referenced from:
      _teapot in libglut.a(glut_teapot.o)
      _teapot in libglut.a(glut_teapot.o)
      _teapot in libglut.a(glut_teapot.o)
      _teapot in libglut.a(glut_teapot.o)
  "_glReadBuffer", referenced from:
      _glutEstablishOverlay in libglut.a(glut_overlay.o)
      ___glutCreateWindow in libglut.a(glut_win.o)
  "_glDrawBuffer", referenced from:
      _glutEstablishOverlay in libglut.a(glut_overlay.o)
      ___glutCreateWindow in libglut.a(glut_win.o)
  "_glBitmap", referenced from:
      _glutBitmapCharacter in libglut.a(glut_bitmap.o)
  "_glNormal3fv", referenced from:
      _drawBox in libglut.a(glut_shapes.o)
      _drawtriangle in libglut.a(glut_shapes.o)
      _pentagon in libglut.a(glut_shapes.o)
  "_glPolygonMode", referenced from:
      _glutWireTorus in libglut.a(glut_shapes.o)
  "_glNormal3f", referenced from:
      _doughnut in libglut.a(glut_shapes.o)
      _doughnut in libglut.a(glut_shapes.o)
  "_glScalef", referenced from:
      _teapot in libglut.a(glut_teapot.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

Error: Status 1 encountered during processing.
colin@tigger:/opt/macports-1.6.0/var/macports> sudo port version
Version: 1.600
colin@tigger:/opt/macports-1.6.0/var/macports> gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)
colin@tigger:/opt/macports-1.6.0/var/macports> uname -a
Darwin tigger.local 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386
colin@tigger:/opt/macports-1.6.0/var/macports> ls /usr/X11R6/lib/
Display all 302 possibilities? (y or n)
colin@tigger:/opt/macports-1.6.0/var/macports> ls /usr/X11R6/lib/libGL
libGL.1.2.dylib   libGL.1.dylib     libGL.dylib       libGLU.1.3.dylib  libGLU.1.dylib    libGLU.dylib      libGLw.1.dylib    libGLw.dylib      

Change History (3)

comment:1 Changed 16 years ago by afb@…

Resolution: fixed
Status: newclosed

comment:2 Changed 16 years ago by jmpp@…

Milestone: Port Bugs

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.