irssi-import / bugs.irssi.org

bugs.irssi.org archive
https://github.com/irssi/irssi/issues
0 stars 0 forks source link

Build fails, irssi looking for clang in non-supported directory #837

Open irssibot opened 12 years ago

irssibot commented 12 years ago

In XCode 4.3, dir structure has changed for Xcode install. It is no longer installed in /Developer. Clang and other dev tools under Xcode 4.3 are now in /usr/bin when the user installs Xcode's "command line tools". Update irssi build env to look for clang in /usr/bin if Xcode > 4.2

Running Mkbootstrap for Irssi () chmod 644 Irssi.bs rm -f blib/arch/auto/Irssi/Irssi.bundle env MACOSX_DEPLOYMENT_TARGET=10.3 /Developer/usr/bin/clang -L/opt/local/lib -arch x86_64 -bundle -undefined dynamic_lookup -fstack-protector Channel.o Core.o Expando.o Ignore.o Irssi.o Log.o Masks.o Query.o Rawlog.o Server.o Settings.o -o blib/arch/auto/Irssi/Irssi.bundle \ \

env: /Developer/usr/bin/clang: No such file or directory
make[4]: *** [blib/arch/auto/Irssi/Irssi.bundle] Error 127

/bin/sh: line 0: cd: irc: No such file or directory /bin/sh: line 0: cd: ui: No such file or directory /bin/sh: line 0: cd: textui: No such file or directory make[3]: [all-local] Error 1 make[2]: [all-recursive] Error 1 make[1]: [all-recursive] Error 1 make: [all] Error 2

irssibot commented 10 years ago

Or just ask the system, % which clang