Code Monkey home page Code Monkey logo

Comments (4)

devernay avatar devernay commented on July 20, 2024

Can you please give the configure line you used for freetype?
And extract the failure line from configure.log?
Do you have "-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" in your CFLAGS and LDFLAGS?
Can you also give the output of "ls -l /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libgcc_s.10.4.dylib"

from xcodelegacy.

DominusExult avatar DominusExult commented on July 20, 2024

./configure --host=powerpc-apple-darwin --without-bzip2 --without-harfbuzz --with-png --with-zlib --with-old-mac-fonts
I have "-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.5.sdk" in my CFLAGS and LDFLAGS and export MACOSX_DEPLOYMENT_TARGET=10.4 as well. (same error with the 10.4u.sdk)

Dominus$ ls -l /developer/SDKs/MacOSX10.4u.sdk/usr/lib/libgcc_s.10.4.dylib
-rwxr-xr-x 1 root wheel 41500 20 Apr 2007 /developer/SDKs/MacOSX10.4u.sdk/usr/lib/libgcc_s.10.4.dylib*

Dominus$ ls -l /developer/SDKs/MacOSX10.5.sdk/usr/lib/libgcc_s.10.4.dylib
-rw-r--r-- 1 root wheel 33256 19 Feb 2008 /developer/SDKs/MacOSX10.5.sdk/usr/lib/libgcc_s.10.4.dylib

The error happens in builds/unix/configure of freetype:

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of native executables" >&5
$as_echo_n "checking for suffix of native executables... " >&6; }
  rm -f a.* b.* a_out.exe conftest.*
  echo > conftest.c "int main() { return 0;}"
  ${CC_BUILD} conftest.c || as_fn_error $? "native C compiler is not working" "$LINENO" 5

Error:

checking for suffix of native executables... ld: library not found for -lgcc_s.10.4
collect2: ld returned 1 exit status
configure: error: native C compiler is not working
make: *** [setup] Error 1

I don't know why it looks for the dylib in /usr/lib/ but there Xcode 7 replaced those dylibs with tld files. If I copy the two dylibs from the 10.6 or 10.5 sdk "back" into /usr/local/lib everything works.
So probably my biggest problem is why it looks in /usr/lib instead of /developer/SDKs/MacOSX.10.5.sdk/usr/lib...

from xcodelegacy.

devernay avatar devernay commented on July 20, 2024

the problem is perhaps with freetype's configure, which probably doesn't use the right flags.

did you try compiling that simple program manually:

int main() { return 0;}
can you send the relevant portion of config.log?

from xcodelegacy.

devernay avatar devernay commented on July 20, 2024

closing, probably a freetype compilation issue

from xcodelegacy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.