Opened 15 years ago

Closed 14 years ago

#21721 closed defect (fixed)

ftgl-2.1.2 Installation broken, but no errors are displayed. Package unusable

Reported by: hahn.seb@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: snowleopard Cc: krugazor@…, anddam (Andrea D'Amore)
Port: ftgl

Description

Trying to install ftgl on Snow Leopard appears to work fine and succeeds without error, but the resulting installation is totally broken. Neither the library nor the demo utilities are actually installed, so that ftgl is unusable. mf2k_mp on #macports mentioned that installing the port with --debug gives an error, so the normal installation shouldn't pretend nothing happened.

It also looks like the upstream package might be broken, as it tries to install something in the home directory of a user henry.

Change History (7)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: krugazor@… removed
Keywords: snowleopard added; ftgl Snow Leopard removed
Owner: changed from macports-tickets@… to krugazor@…

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Here's the error seen while building with debug:

DEBUG: Executing org.macports.destroot (ftgl)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ftgl/work/FTGL/unix" && /usr/bin/make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ftgl/work/destroot'
for d in src demo docs ; do /usr/bin/make -C $d install ; done
/bin/sh ../libtool --mode=compile /usr/bin/g++-4.2 -c -I../../include -I/opt/local/include -O2 -arch x86_64 -I/opt/local/include/freetype2 -I/opt/local/include  ../../src/FTGLTextureFont.cpp
/usr/bin/g++-4.2 -c -I../../include -I/opt/local/include -O2 -arch x86_64 -I/opt/local/include/freetype2 -I/opt/local/include ../../src/FTGLTextureFont.cpp -o FTGLTextureFont.o
In file included from ../../src/FTGLTextureFont.cpp:5:
../../include/FTTextureGlyph.h:55: error: extra qualification 'FTTextureGlyph::' on member 'ResetActiveTexture'
make[1]: *** [FTGLTextureFont.lo] Error 1
/bin/sh ../libtool --mode=link /usr/bin/g++-4.2 FTGLDemo.o tb.o trackball.o -o FTGLDemo ../src/libftgl.la   -L/opt/local/lib -lfreetype -lz -framework GLUT -framework OpenGL -lobjc
libtool: link: cannot find the library `../src/libftgl.la'
make[1]: *** [FTGLDemo] Error 1
/usr/bin/install -c -d -m 0755 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ftgl/work/destroot/opt/local/share/doc/ftgl/html
/usr/bin/install -c -m 0644 html/* /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ftgl/work/destroot/opt/local/share/doc/ftgl/html/
/usr/bin/install -c -d -m 0755 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ftgl/work/destroot/opt/local/lib/pkgconfig
/usr/bin/install -c -m 0644 ftgl.pc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ftgl/work/destroot/opt/local/lib/pkgconfig/
DEBUG: Executing portdestroot::destroot_finish
DEBUG: checking for mtree violations

comment:3 Changed 15 years ago by mf2k (Frank Schima)

The prior comment was building on Snow Leopard (10.6.1).

When i build on Leopard (10.5.8), and try to run the FTGLDemo, i see the following strange error:

$ FTGLDemo 
Failed to open font /Users/henry/Development/PROJECTS/FTGL/test/font_pack/arial.ttf

Yet I have no user named "henry" on my machine.

comment:4 Changed 15 years ago by tobypeterson

Cc: krugazor@… added
Owner: changed from krugazor@… to macports-tickets@…

comment:5 Changed 15 years ago by hahn.seb@…

The Portfile mentioned in bug #18444 fixes the installation problems for me and creates a useable ftgl.

comment:6 Changed 15 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Closing as per comment:5.

Note: See TracTickets for help on using tickets.