[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling trouble on mac osx
From: |
Ricky & Nancy |
Subject: |
compiling trouble on mac osx |
Date: |
Mon, 18 Feb 2002 20:44:04 -0800 |
Howdy,
I could not get a clean configure on mac osx. I'm new to both mac
osx and to gettext and have had very little experience
compiling/installing libraries in general. I also have not bothered to
search any faq or archives for mac osx porting of gettext. So it's quite
possible that I am just being ignorant. I hope that the info I am
providing here is helpful. If I happen to be the only mac osx resource
you know of, then I'm certainly willing run some other suggested
attempts.
I am using gettext-0.11 and mac osx v 10.1.1.
Here is the problem line from the make results...
cc -dynamiclib -o .libs/libgettextlib-0.11.dylib argmatch.lo
backupfile.lo addext.lo basename.lo c-ctype.lo copy-file.lo error.lo
execute.lo findprog.lo fstrcmp.lo full-write.lo gcd.lo getopt.lo
getopt1.lo hash.lo javacomp.lo javaexec.lo linebreak.lo localcharset.lo
mbswidth.lo obstack.lo concatpath.lo pipe-bidi.lo pipe-in.lo pipe-out.lo
progname.lo safe-read.lo sh-quote.lo strtoul.lo tmpdir.lo wait-
process.lo xerror.lo xmalloc.lo xstrdup.lo xsetenv.lo stpcpy.lo
stpncpy.lo vasprintf.lo getline.lo mkdtemp.lo -L../intl/.libs -lintl
-lc -lc -install_name /usr/local/lib/libgettextlib-0.11.dylib 0.0
cc: 0.0: No such file or directory
What I notice is that the "dylib 0.0" has a space in the file name. How
do I get rid of that and would other programs wishing to use gettext lib
expect a space there?
So I edited libtool at line 184 and changed
#archive_cmds="\$CC \$(test .\$module = .yes && echo -bundle || echo
-dynamiclib) \$allow_undefined_flag -o \$lib \$libobjs \$deplibs\$
linkopts -install_name \$rpath/\$soname \$(test -n \\"\$verstring\\" -a
x\$verstring != x0.0 && echo \$verstring)"
#Modified from above by ricky
archive_cmds="\$CC \$(test .\$module = .yes && echo -bundle || echo
-dynamiclib) \$allow_undefined_flag -o \$lib \$libobjs \$deplibs\$
linkopts -install_name \$rpath/\$soname "
Then my make went clean all the way through. But a `make check` had 18
out of 152 tests failed.
Ricky Charlet
- compiling trouble on mac osx,
Ricky & Nancy <=