schwer-q / xar

Automatically exported from code.google.com/p/xar
0 stars 0 forks source link

Compilation failed on Mac OS X Leopard with LLVM-GCC #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Xcode 3.1 with LLVM-GCC on Mac OS X 10.5.4.
2. Download xar 1.5.2 source, then extract it using the Finder.
3. Configure xar with the following command:

$ env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 \
-arch ppc7400 -arch ppc970 -arch ppc64 -arch x86_64" LDFLAGS="-arch i386 \
-arch ppc7400 -arch ppc970 -arch ppc64 -arch x86_64" \
CC="/Developer/usr/bin/llvm-gcc" \
./configure --prefix=/usr/local --disable-dependency-tracking

What is the expected output? What do you see instead?

I expected the configure step to complete successfully. Instead, I see:

"... [snip] ...
configure: creating ./config.status
config.status: creating cfgoutputs.stamp
sed: 3: ./confstatzyJTh2/subs-2.sed: invalid command code -
sed: 48: ./confstatzyJTh2/subs-1.sed: unescaped newline inside substitute 
pattern
config.status: creating Makefile
sed: 3: ./confstatzyJTh2/subs-2.sed: invalid command code -
sed: 48: ./confstatzyJTh2/subs-1.sed: unescaped newline inside substitute 
pattern
config.status: creating include/xar.h
sed: 3: ./confstatzyJTh2/subs-2.sed: invalid command code -
sed: 48: ./confstatzyJTh2/subs-1.sed: unescaped newline inside substitute 
pattern
config.status: creating lib/Makefile.inc
sed: 3: ./confstatzyJTh2/subs-2.sed: invalid command code -
sed: 48: ./confstatzyJTh2/subs-1.sed: unescaped newline inside substitute 
pattern
config.status: creating lib/libxar.la.in
sed: 3: ./confstatzyJTh2/subs-2.sed: invalid command code -
sed: 48: ./confstatzyJTh2/subs-1.sed: unescaped newline inside substitute 
pattern
config.status: creating src/Makefile.inc
sed: 3: ./confstatzyJTh2/subs-2.sed: invalid command code -
sed: 48: ./confstatzyJTh2/subs-1.sed: unescaped newline inside substitute 
pattern
config.status: creating xar.spec
sed: 3: ./confstatzyJTh2/subs-2.sed: invalid command code -
sed: 48: ./confstatzyJTh2/subs-1.sed: unescaped newline inside substitute 
pattern
config.status: creating cfghdrs.stamp
config.status: creating include/config.h"

What version of the product are you using? On what operating system?

I am using xar 1.5.2 downloaded as a tar.gz. I am running on Mac OS X 10.5.4 
with the Xcode 
3.1 Developer Tools.

Please provide any additional information below.

I am trying to make a 4 or 5-way universal binary for Mac OS X and am trying 
out a similar 
sequence to that I've already used for Rsync 3: <http://bit.ly/FzSs8>

Original issue reported on code.google.com by jaha...@gmail.com on 10 Sep 2008 at 2:04