Opened 12 years ago

Closed 12 years ago

#32380 closed defect (fixed)

lensfun: configure fails to find installed glib2

Reported by: rmstonecipher@… Owned by: julians37@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: lensfun

Description

lensfun fails to find installed glib-2 (2.30.2_2, current version as of ticket date). Below please find a relevant error output.

euclid:lensfun ryan$ port -d configure
[snip]
--->  Configuring lensfun
DEBUG: Using compiler 'Mac OS X clang'
DEBUG: Executing org.macports.configure (lensfun)
DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64 -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64 -arch i386' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/Developer/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_svn_trunk_dports_graphics_lensfun/lensfun/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2' LDFLAGS='-L/opt/local/lib -arch x86_64 -arch i386' OBJC='/Developer/usr/bin/clang' FCFLAGS='-pipe -O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64 -arch i386' FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES' CC='/Developer/usr/bin/clang'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn_trunk_dports_graphics_lensfun/lensfun/work/lensfun-0.2.5" && ./configure --prefix=/opt/local'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn_trunk_dports_graphics_lensfun/lensfun/work/lensfun-0.2.5" && ./configure --prefix=/opt/local 
Compiling on host mac.x86 for target mac.x86 (tune for i386)
Checking if compiler supports -fvisibility=hidden                ... Yes
Checking if compiler supports -Wno-non-virtual-dtor              ... Yes
Checking if compiler supports -mtune=i386                        ... Yes
Checking for GNU Make >= 3.81                                    ... 3.81, OK
Checking for makedep >= 0.1.0                                    ... FAILED
Checking for Doxygen >= 1.5.0                                    ... FAILED
Checking for library glib-2.0 >= 2.0                             ... NOT FOUND

This library is required to build lensfun,
Cannot build the project because this is the low-level library that libLensFun relies on
[snip]
euclid:lensfun ryan$ port installed glib2
The following ports are currently installed:
  glib2 @2.30.2_2+universal (active)

Change History (6)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Interesting... works for me on Snow Leopard with Xcode 3.2.6 even if I force the use of clang, so maybe it's a Lion or Xcode 4.2 issue. Could you attach the config.mak? I'm not sure it'll tell us much, but they don't write a config.log, so...

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

I can reproduce the problem if I use the mechanism described at UsingTheRightCompiler; are you using that as well?

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

I have updated the port in r87756 to be more verbose in its configure output, so if you selfupdate and try again, we should get a more meaningful main.log.

comment:4 in reply to:  2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: graphics/lensfun fails to find installed glib-2lensfun: configure fails to find installed glib2

Replying to ryandesign@…:

I can reproduce the problem if I use the mechanism described at UsingTheRightCompiler; are you using that as well?

This is fixed in r87761. Did that help?

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Is this still an issue?

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

Resolution: fixed
Status: newclosed

No response; assuming fixed.

Note: See TracTickets for help on using tickets.