[MacPorts] #47062: FLTK fails to link gl2ps

MacPorts noreply at macports.org
Sat Mar 7 02:09:01 PST 2015


#47062: FLTK fails to link gl2ps
------------------------+--------------------------------
 Reporter:  akarypid@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.3.3
 Keywords:              |       Port:  octave
------------------------+--------------------------------
 When I try to install octave:

 {{{
 $ port info octave
 octave @3.8.2_7 (math, science)
 Variants:             accelerate, [+]atlas, dragonegg33, dragonegg34, g95,
 gcc44, gcc45, gcc46, gcc47, gcc48, [+]gcc49, [+]glgui, gui, metis, qtgui,
 x11
 }}}

 The configure script detects that FLTK can use OpenGL support and
 activates it:

 {{{
 :info:configure checking for OpenGL support in FLTK... yes
 :info:configure checking gl2ps.h usability... yes
 :info:configure checking gl2ps.h presence... yes
 :info:configure checking for gl2ps.h... yes
 }}}

 Then later during linking the gl2ps library is not found:

 {{{
 :info:build ld: library not found for -lgl2ps
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[3]: *** [liboctinterp.la] Error 1
 :info:build make[3]: *** Waiting for unfinished jobs....
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.8.2/libinterp'
 }}}

 I am using MacPorts 2.3.3 and performed a self-update before filing this
 ticket, so none of my ports are outdated. I use clang from XCode 6.1.1 on
 Yosemite 10.10.2 and the gcc49 fortran compiler (installed from gcc49
 macports package).


 {{{
 CC='/usr/bin/clang'
 ...
 F77='/opt/local/bin/gfortran-mp-4.9'
 F90='/opt/local/bin/gfortran-mp-4.9'
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47062>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list