gettext error
Vijay Patel (NewsLetters)
patelvijayp.news at gmail.com
Sat Apr 7 06:20:50 UTC 2007
Hello,
I was also facing similar problem. & As per discussion of this thread, its because, I am using FreeBSD 5.2 with latest ports.tar.gz (As I am at remote location, FreeBSD upgrade is not possible for me).
Here is how I solved problem of gettext.
1) I found Makefile in ./work/gettext-0.16.1/gettext-runtime/tests/Makefile
I changed following line
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@
to
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@ -pthread
2) On make command, I tried this,
make LIB=-pthread
I think 2nd option might not be required. But somehow in hurry, I just run command from shell history. It worked! If someone is trying, pls try just make.
Regards,
Vijay.
More information about the freebsd-ports
mailing list