Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377635 - games-emulation/lxdream with gnustep-base/gnustep-gui - configure:7974: checking for library containing dlopen // i686-pc-linux-gnu-gcc: error: AppKit: No such file or directory
Summary: games-emulation/lxdream with gnustep-base/gnustep-gui - configure:7974: check...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
: 585660 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-04 00:34 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2016-06-12 16:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (lxdream-0.9.1-r2:20110803-232833.log,6.32 KB, text/plain)
2011-08-04 00:34 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2011-08-04 00:34:24 UTC
Created attachment 281997 [details]
Build log

See attached build log and this snippet:

configure:7654: checking for Cocoa/Cocoa.h
configure:7675: i686-pc-linux-gnu-gcc -c -g -O2  conftest.m >&5
configure:7682: $? = 0
configure:7697: result: yes
configure:7726: checking OBJC version
configure:7735: result: Unknown
configure:7793: checking CC version
configure:7800: result: GCC
configure:7855: checking dlfcn.h usability
configure:7872: i686-pc-linux-gnu-gcc -c -O2 -pipe -g -fexceptions -fno-strict-aliasing -fomit-frame-pointer  conftest.c >&5
configure:7879: $? = 0
configure:7893: result: yes
configure:7897: checking dlfcn.h presence
configure:7912: i686-pc-linux-gnu-gcc -E  conftest.c
configure:7919: $? = 0
configure:7933: result: yes
configure:7961: checking for dlfcn.h
configure:7968: result: yes
configure:7974: checking for library containing dlopen
configure:8015: i686-pc-linux-gnu-gcc -o conftest -O2 -pipe -g -fexceptions -fno-strict-aliasing -fomit-frame-pointer  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-headerpad_max_install_names conftest.c  -framework AppKit -framework Carbon -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -framework OpenGL >&5
i686-pc-linux-gnu-gcc: error: AppKit: No such file or directory
i686-pc-linux-gnu-gcc: error: Carbon: No such file or directory
i686-pc-linux-gnu-gcc: error: OpenGL: No such file or directory
configure:8022: $? = 1

the problem lies in configure.in:

   AC_CHECK_HEADER([Cocoa/Cocoa.h], [
      HAVE_COCOA='yes'
      APPLE_BUILD='yes'
      LIBS="$LIBS -framework AppKit -framework Carbon"
      LIBS="$LIBS -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -framework OpenGL"
      LXDREAMCPPFLAGS="-DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -mdynamic-no-pic"
      LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
      AC_DEFINE(HAVE_COCOA,[1],[Have Cocoa framework])
      AC_DEFINE(APPLE_BUILD,[1],[Building on an apple platform. Things are different...])
      if test "x$with_gtk" = "xx11"; then
        with_gtk=no
      fi
   ], [], [AC_INCLUDES_DEFAULT])


somebody has to learn to use CHOST.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-06-12 16:04:40 UTC
*** Bug 585660 has been marked as a duplicate of this bug. ***
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-06-12 16:08:45 UTC
commit c0a83106d8928fd80a3dd0a74e8b32f2178f3e76
Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Date:   Sun Jun 12 18:07:39 2016 +0200

    games-emulation/lxdream: add blocker against gnustep-base/gnustep-gui
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=377635