[MacPorts] #18232: freetype 2.3.8 fails mac os x 10.5 intel

MacPorts noreply at macports.org
Sun Mar 29 00:48:10 PDT 2009


#18232: freetype 2.3.8 fails mac os x 10.5 intel
---------------------------------+------------------------------------------
 Reporter:  fantunes@…           |       Owner:  ryandesign@…           
     Type:  defect               |      Status:  new                    
 Priority:  Normal               |   Milestone:  Port Bugs              
Component:  ports                |     Version:  1.7.0                  
 Keywords:                       |        Port:  freetype               
---------------------------------+------------------------------------------

Comment(by atomist@…):

 Replying to [comment:16 ryandesign@…]:
 > I have an idea. Do you have a previous version of freetype installed
 with MacPorts? If so, which version? The new version of freetype may be
 trying to include files from the old active version and getting confused.
 Try deactivating it before installing the new one.
 >
 > {{{
 > sudo port deactivate freetype
 > sudo port clean freetype
 > sudo port install freetype
 > }}}
 >
 > Please let me know your result.

 Sorry don't want to hammer you with posts but if I don't apply the
 environmental variables it builds fine!
 This is what I did and it failed:
 export CFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2'
 MACOSX_DEPLOYMENT_TARGET='10.5' CPP='/usr/bin/cpp-4.0'
 CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib'
 FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c'
 OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0'

 Then I started a new shell and did ./configure --prefix=/opt/local
 After that make ran fine!

 ranlib /usr/src/freetype-2.3.5/objs/.libs/libfreetype.a
 creating /usr/src/freetype-2.3.5/objs/libfreetype.la
 (cd /usr/src/freetype-2.3.5/objs/.libs && rm -f libfreetype.la && ln -s
 ../libfreetype.la libfreetype.la)
 [atom at fatbook:src/freetype-2.3.5]$

-- 
Ticket URL: <http://trac.macports.org/ticket/18232#comment:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list