Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2007 11:22:10 +0530
From:      "Vijay Patel \(NewsLetters\)" <patelvijayp.news@gmail.com>
To:        <freebsd-ports@freebsd.org>
Subject:   gettext error
Message-ID:  <003901c778d8$e53b8260$0100a8c0@team1>

next in thread | raw e-mail | index | archive | help
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 =3D $(LIBTOOL) --tag=3DCC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
        --mode=3Dlink $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
        $(LDFLAGS) -o $@

to

LINK =3D $(LIBTOOL) --tag=3DCC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
        --mode=3Dlink $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
        $(LDFLAGS) -o $@ -pthread

2) On make command, I tried this,
make LIB=3D-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.

 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003901c778d8$e53b8260$0100a8c0>