Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13596 closed defect (duplicate)

GLUT Build fails (on Leopard)

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

Description

klumpenpro:~ sven$ port --version

MacPorts 1.520

klumpenpro:~ sven$ sudo port sync

Password: klumpenpro:~ sven$ sudo port install glut

---> Building glut 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_glut/work/glut-3.7/lib/glut ; c++ -flat_namespace -dynamiclib -o libglut.3.7.dylib -install_name /opt/local/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.

klumpenpro:~ sven$

Change History (7)

comment:1 Changed 16 years ago by jmpp@…

Milestone: Port Bugs

comment:2 Changed 16 years ago by brad.froehle@…

Is GLUT needed on Leopard? It shows up in /System/Library/Frameworks/GLUT.framework/

comment:3 in reply to:  2 ; Changed 16 years ago by wegerhoff@…

Replying to brad.froehle@gmail.com:

Is GLUT needed on Leopard? It shows up in /System/Library/Frameworks/GLUT.framework/

Not on my box, sorry. Standard clean from scratch Leo install.

comment:4 in reply to:  3 Changed 16 years ago by wegerhoff@…

Replying to wegerhoff@gmail.com:

Replying to brad.froehle@gmail.com:

Is GLUT needed on Leopard? It shows up in /System/Library/Frameworks/GLUT.framework/

Not on my box, sorry. Standard clean from scratch Leo install.

of course it's there, sorry, my fault..

should build with ports anyway?

comment:5 Changed 16 years ago by cssdev

Apple's GLUT is different from the X11 GLUT provided by the port, so it might depend on which one you want to use.

comment:6 Changed 16 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #13806.

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.