[GRASS5] [bug #3160] (grass) r.support build error

this bug's URL: http://intevation.de/rt/webrt?serial_num=3160
-------------------------------------------------------------------------

Subject: r.support build error

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: cvs_18_04_05

GRASS GIS compilation log
-------------------------
Started compilation: pon kwi 18 21:16:20 CEST 2005
Errors in:
/home/pingwin/src/grass6/raster/r.support/modcats
/home/pingwin/src/grass6/raster/r.support/modhist
Finished compilation: pon kwi 18 21:26:31 CEST 2005
(In case of errors please change into the directory with error and run 'make')

   So I did:

[pingwin@localhost r.support]$ make
modcats
make[1]: Entering directory `/home/pingwin/src/grass6/raster/r.support/modcats'
Makefile:15: ostrze¿enie: polecenia zakrywaj±ce dla obiektu `htmletc1'
../../../include/Make/Rules.make:94: ostrze¿enie: ignorujê stare polecenia dla obiektu `htmletc1'
gcc -s -pipe -D_FILE_OFFSET_BITS=64 -Wl,--export-dynamic -L/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib -DPACKAGE=\""grassmods"\" -o /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modcats OBJ.i686-pc-linux-gnu/modcats.o -lgrass_gis -lgrass_datetime -lz -lgrass_edit -lm -lz
/usr/bin/ld: warning: libgrass_vask.so, needed by /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so, not found (try using -rpath or -rpath-link)
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_ques'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_line'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_call'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_intrpt_ok'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_const'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_clear'
collect2: ld returned 1 exit status
make[1]: *** [/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modcats] B³±d 1
make[1]: Leaving directory `/home/pingwin/src/grass6/raster/r.support/modcats'
modcolr
make[1]: Entering directory `/home/pingwin/src/grass6/raster/r.support/modcolr'
Makefile:15: ostrze¿enie: polecenia zakrywaj±ce dla obiektu `htmletc1'
../../../include/Make/Rules.make:94: ostrze¿enie: ignorujê stare polecenia dla obiektu `htmletc1'
No docs to generate.
echo "<HR>" >> modcolr.tmp.html
#generate module class reference:
echo "</body></html>" >> modcolr.tmp.html
mkdir -p /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html
mv -f modcolr.tmp.html /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html/modcolr.html
/usr/bin/install -c *.png *.jpg /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html 2> /dev/null ; true
mkdir -p /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/support
/usr/bin/install -c -m 755 /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modcolr /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/support
make[1]: Leaving directory `/home/pingwin/src/grass6/raster/r.support/modcolr'
modhist
make[1]: Entering directory `/home/pingwin/src/grass6/raster/r.support/modhist'
Makefile:15: ostrze¿enie: polecenia zakrywaj&#177;ce dla obiektu `htmletc1'
../../../include/Make/Rules.make:94: ostrze¿enie: ignorujê stare polecenia dla obiektu `htmletc1'
gcc -s -pipe -D_FILE_OFFSET_BITS=64 -Wl,--export-dynamic -L/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib -DPACKAGE=\""grassmods"\" -o /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modhist OBJ.i686-pc-linux-gnu/modhist.o -lgrass_gis -lgrass_datetime -lz -lgrass_edit -lm -lz
/usr/bin/ld: warning: libgrass_vask.so, needed by /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so, not found (try using -rpath or -rpath-link)
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_ques'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_line'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_call'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_intrpt_ok'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_const'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_clear'
collect2: ld returned 1 exit status
make[1]: *** [/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modhist] B³&#177;d 1
make[1]: Leaving directory `/home/pingwin/src/grass6/raster/r.support/modhist'
modhead
make[1]: Entering directory `/home/pingwin/src/grass6/raster/r.support/modhead'
Makefile:15: ostrze¿enie: polecenia zakrywaj&#177;ce dla obiektu `htmletc1'
../../../include/Make/Rules.make:94: ostrze¿enie: ignorujê stare polecenia dla obiektu `htmletc1'
No docs to generate.
echo "<HR>" >> modhead.tmp.html
#generate module class reference:
echo "</body></html>" >> modhead.tmp.html
mkdir -p /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html
mv -f modhead.tmp.html /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html/modhead.html
/usr/bin/install -c *.png *.jpg /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html 2> /dev/null ; true
mkdir -p /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/support
/usr/bin/install -c -m 755 /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modhead /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/support
make[1]: Leaving directory `/home/pingwin/src/grass6/raster/r.support/modhead'
front
make[1]: Entering directory `/home/pingwin/src/grass6/raster/r.support/front'
GISRC=/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/demolocation/.grassrc61 GISBASE=/home/pingwin/src/grass6/dist.i686-pc-linux-gnu PATH=/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/bin:$PATH LD_LIBRARY_PATH="/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib:" /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/bin/r.support --html-description | grep -v '</body>' > r.support.tmp.html ; true
echo "<HR>" >> r.support.tmp.html
#generate module class reference:
echo "</body></html>" >> r.support.tmp.html
mkdir -p /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html
mv -f r.support.tmp.html /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html/r.support.html
/usr/bin/install -c *.png *.jpg /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html 2> /dev/null ; true
make[1]: Leaving directory `/home/pingwin/src/grass6/raster/r.support/front'

gcc 3.4.1 if it matters

Maciek

-------------------------------------------- Managed by Request Tracker

Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=3160

Subject: r.support build error

Errors in:
/home/pingwin/src/grass6/raster/r.support/modcats
/home/pingwin/src/grass6/raster/r.support/modhist
Finished compilation: pon kwi 18 21:26:31 CEST 2005
(In case of errors please change into the directory with error and run 'make')

   So I did:

[pingwin@localhost r.support]$ make
modcats
make[1]: Entering directory `/home/pingwin/src/grass6/raster/r.support/modcats'
Makefile:15: ostrze¿enie: polecenia zakrywaj&#177;ce dla obiektu `htmletc1'

Please do:

  LANG=C make

to get error messages in English.

--
Glynn Clements <glynn@gclements.plus.com>

From: "Glynn Clements" <glynn@gclements.plus.com>

Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=3160

Subject: r.support build error

Errors in:
/home/pingwin/src/grass6/raster/r.support/modcats
/home/pingwin/src/grass6/raster/r.support/modhist
Finished compilation: pon kwi 18 21:26:31 CEST 2005
(In case of errors please change into the directory with error and run 'make')

   So I did:

[pingwin@localhost r.support]$ make
modcats
make[1]: Entering directory `/home/pingwin/src/grass6/raster/r.support/modcats'
Makefile:15: ostrze¿enie: polecenia zakrywaj&#177;ce dla obiektu `htmletc1'

Please do:

LANG=C make

to get error messages in English.

It didn't change the language that make's output speaks. Other suggestions?

Maciek

>> this bug's URL: http://intevation.de/rt/webrt?serial_num=3160
>
>> Subject: r.support build error
>
>> Errors in:
>> /home/pingwin/src/grass6/raster/r.support/modcats
>> /home/pingwin/src/grass6/raster/r.support/modhist
>> Finished compilation: pon kwi 18 21:26:31 CEST 2005
>> (In case of errors please change into the directory with error and run
>> 'make')
>>
>> So I did:
>>
>> [pingwin@localhost r.support]$ make
>> modcats
>> make[1]: Entering directory
>> `/home/pingwin/src/grass6/raster/r.support/modcats'
>> Makefile:15: ostrze¿enie: polecenia zakrywaj&#177;ce dla obiektu
>> `htmletc1'
>
> Please do:
>
> LANG=C make
>
> to get error messages in English.

It didn't change the language that make's output speaks. Other suggestions?

just tell us what it is saying when the errors start?

Hamish

From: "Hamish" <hamish_nospam@yahoo.com>

>> this bug's URL: http://intevation.de/rt/webrt?serial_num=3160
>
>> Subject: r.support build error
>
>> Errors in:
>> /home/pingwin/src/grass6/raster/r.support/modcats
>> /home/pingwin/src/grass6/raster/r.support/modhist
>> Finished compilation: pon kwi 18 21:26:31 CEST 2005
>> (In case of errors please change into the directory with error and run
>> 'make')
>>
>> So I did:
>>
>> [pingwin@localhost r.support]$ make
>> modcats
>> make[1]: Entering directory
>> `/home/pingwin/src/grass6/raster/r.support/modcats'
>> Makefile:15: ostrze¿enie: polecenia zakrywaj&#177;ce dla obiektu
>> `htmletc1'
>
> Please do:
>
> LANG=C make
>
> to get error messages in English.

It didn't change the language that make's output speaks. Other suggestions?

just tell us what it is saying when the errors start?

Makefile:15: warning: covering instructions for object `htmletc1'
../../../include/Make/Rules.make:94: warning: ignoring old instructions for object `htmletc1'

Any good?

Maciek

Maciek Sieczka wrote:

>> this bug's URL: http://intevation.de/rt/webrt?serial_num=3160
>
>> Subject: r.support build error
>
>> Errors in:
>> /home/pingwin/src/grass6/raster/r.support/modcats
>> /home/pingwin/src/grass6/raster/r.support/modhist
>> Finished compilation: pon kwi 18 21:26:31 CEST 2005
>> (In case of errors please change into the directory with error and run
>> 'make')
>>
>>
>> So I did:
>>
>>
>> [pingwin@localhost r.support]$ make
>> modcats
>> make[1]: Entering directory
>> `/home/pingwin/src/grass6/raster/r.support/modcats'
>> Makefile:15: ostrze¿enie: polecenia zakrywaj&#177;ce dla obiektu
>> `htmletc1'
>
> Please do:
>
> LANG=C make
>
> to get error messages in English.

It didn't change the language that make's output speaks. Other suggestions?

Sorry; I should have suggested:

  LC_ALL=C make

LC_ALL overrides the individual LC_* variables (e.g. LC_MESSAGES),
while LANG provides a default for any which aren't set.

--
Glynn Clements <glynn@gclements.plus.com>

Maciek Sieczka wrote:

> just tell us what it is saying when the errors start?

Makefile:15: warning: covering instructions for object `htmletc1'
../../../include/Make/Rules.make:94: warning: ignoring old instructions for
object `htmletc1'

Any good?

That's just a warning, and is expected. It won't cause the build to
fail.

--
Glynn Clements <glynn@gclements.plus.com>

From: "Glynn Clements" <glynn@gclements.plus.com>

Sorry; I should have suggested:

LC_ALL=C make

Now it speaks English:

modcats
make[1]: Entering directory `/home/pingwin/src/grass6/raster/r.support/modcats'
Makefile:15: warning: overriding commands for target `htmletc1'
../../../include/Make/Rules.make:94: warning: ignoring old commands for target `htmletc1'
gcc -s -pipe -D_FILE_OFFSET_BITS=64 -Wl,--export-dynamic -L/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib -DPACKAGE=\""grassmods"\" -o /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modcats OBJ.i686-pc-linux-gnu/modcats.o -lgrass_gis -lgrass_datetime -lz -lgrass_edit -lm -lz
/usr/bin/ld: warning: libgrass_vask.so, needed by /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so, not found (try using -rpath or -rpath-link)
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_ques'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_line'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_call'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_intrpt_ok'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_const'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_clear'
collect2: ld returned 1 exit status
make[1]: *** [/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modcats] Error 1
make[1]: Leaving directory `/home/pingwin/src/grass6/raster/r.support/modcats'
modcolr
make[1]: Entering directory `/home/pingwin/src/grass6/raster/r.support/modcolr'
Makefile:15: warning: overriding commands for target `htmletc1'
../../../include/Make/Rules.make:94: warning: ignoring old commands for target `htmletc1'
No docs to generate.
echo "<HR>" >> modcolr.tmp.html
#generate module class reference:
echo "</body></html>" >> modcolr.tmp.html
mkdir -p /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html
mv -f modcolr.tmp.html /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html/modcolr.html
/usr/bin/install -c *.png *.jpg /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html 2> /dev/null ; true
mkdir -p /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/support
/usr/bin/install -c -m 755 /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modcolr /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/support
make[1]: Leaving directory `/home/pingwin/src/grass6/raster/r.support/modcolr'
modhist
make[1]: Entering directory `/home/pingwin/src/grass6/raster/r.support/modhist'
Makefile:15: warning: overriding commands for target `htmletc1'
../../../include/Make/Rules.make:94: warning: ignoring old commands for target `htmletc1'
gcc -s -pipe -D_FILE_OFFSET_BITS=64 -Wl,--export-dynamic -L/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib -DPACKAGE=\""grassmods"\" -o /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modhist OBJ.i686-pc-linux-gnu/modhist.o -lgrass_gis -lgrass_datetime -lz -lgrass_edit -lm -lz
/usr/bin/ld: warning: libgrass_vask.so, needed by /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so, not found (try using -rpath or -rpath-link)
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_ques'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_line'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_call'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_intrpt_ok'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_const'
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so: undefined reference to `V_clear'
collect2: ld returned 1 exit status
make[1]: *** [/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modhist] Error 1
make[1]: Leaving directory `/home/pingwin/src/grass6/raster/r.support/modhist'
modhead
make[1]: Entering directory `/home/pingwin/src/grass6/raster/r.support/modhead'
Makefile:15: warning: overriding commands for target `htmletc1'
../../../include/Make/Rules.make:94: warning: ignoring old commands for target `htmletc1'
No docs to generate.
echo "<HR>" >> modhead.tmp.html
#generate module class reference:
echo "</body></html>" >> modhead.tmp.html
mkdir -p /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html
mv -f modhead.tmp.html /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html/modhead.html
/usr/bin/install -c *.png *.jpg /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html 2> /dev/null ; true
mkdir -p /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/support
/usr/bin/install -c -m 755 /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modhead /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/support
make[1]: Leaving directory `/home/pingwin/src/grass6/raster/r.support/modhead'
front
make[1]: Entering directory `/home/pingwin/src/grass6/raster/r.support/front'
GISRC=/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/demolocation/.grassrc61 GISBASE=/home/pingwin/src/grass6/dist.i686-pc-linux-gnu PATH=/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/bin:$PATH LD_LIBRARY_PATH="/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib:" /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/bin/r.support --html-description | grep -v '</body>' > r.support.tmp.html ; true
echo "<HR>" >> r.support.tmp.html
#generate module class reference:
echo "</body></html>" >> r.support.tmp.html
mkdir -p /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html
mv -f r.support.tmp.html /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html/r.support.html
/usr/bin/install -c *.png *.jpg /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/docs/html 2> /dev/null ; true
make[1]: Leaving directory `/home/pingwin/src/grass6/raster/r.support/front'

Maciek Sieczka wrote:

> Sorry; I should have suggested:
>
> LC_ALL=C make

Now it speaks English:

modcats
make[1]: Entering directory
`/home/pingwin/src/grass6/raster/r.support/modcats'
Makefile:15: warning: overriding commands for target `htmletc1'
../../../include/Make/Rules.make:94: warning: ignoring old commands for
target `htmletc1'
gcc -s -pipe -D_FILE_OFFSET_BITS=64 -Wl,--export-dynamic -L/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib
        -DPACKAGE=\""grassmods"\" -o
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modcats
OBJ.i686-pc-linux-gnu/modcats.o -lgrass_gis -lgrass_datetime -lz -lgrass_edit
-lm -lz
/usr/bin/ld: warning: libgrass_vask.so, needed by
/home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so, not
found (try using -rpath or -rpath-link)

Right. As it says, we should be using -rpath-link. I thought that we
were.

The correct switches are already present in LD_SEARCH_FLAGS, but we
don't appear to be using that.

AFAICT, the way that other modules get around this is to explicitly
add $(VASKLIB) to the link command in the Makefile.

--
Glynn Clements <glynn@gclements.plus.com>

On Fri, Apr 22, 2005 at 11:36:22PM +0100, Glynn Clements wrote:

Maciek Sieczka wrote:

...

> /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modcats
> OBJ.i686-pc-linux-gnu/modcats.o -lgrass_gis -lgrass_datetime -lz -lgrass_edit
> -lm -lz
> /usr/bin/ld: warning: libgrass_vask.so, needed by
> /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so, not
> found (try using -rpath or -rpath-link)

Right. As it says, we should be using -rpath-link. I thought that we
were.

The correct switches are already present in LD_SEARCH_FLAGS, but we
don't appear to be using that.

... if you know how to fix that, please apply to the CVS.

AFAICT, the way that other modules get around this is to explicitly
add $(VASKLIB) to the link command in the Makefile.

Thanks

Markus

Markus Neteler wrote:

> > /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modcats
> > OBJ.i686-pc-linux-gnu/modcats.o -lgrass_gis -lgrass_datetime -lz -lgrass_edit
> > -lm -lz
> > /usr/bin/ld: warning: libgrass_vask.so, needed by
> > /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so, not
> > found (try using -rpath or -rpath-link)
>
> Right. As it says, we should be using -rpath-link. I thought that we
> were.
>
> The correct switches are already present in LD_SEARCH_FLAGS, but we
> don't appear to be using that.

... if you know how to fix that, please apply to the CVS.

Done.

BTW, I've noticed that LDFLAGS includes $(PQLIBPATH), although it
doesn't belong there.

--
Glynn Clements <glynn@gclements.plus.com>

On Wed, Apr 27, 2005 at 11:39:13PM +0100, Glynn Clements wrote:

Markus Neteler wrote:

> > > /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/etc/modcats
> > > OBJ.i686-pc-linux-gnu/modcats.o -lgrass_gis -lgrass_datetime -lz -lgrass_edit
> > > -lm -lz
> > > /usr/bin/ld: warning: libgrass_vask.so, needed by
> > > /home/pingwin/src/grass6/dist.i686-pc-linux-gnu/lib/libgrass_edit.so, not
> > > found (try using -rpath or -rpath-link)
> >
> > Right. As it says, we should be using -rpath-link. I thought that we
> > were.
> >
> > The correct switches are already present in LD_SEARCH_FLAGS, but we
> > don't appear to be using that.
>
> ... if you know how to fix that, please apply to the CVS.

Done.

Thanks.

BTW, I've noticed that LDFLAGS includes $(PQLIBPATH), although it
doesn't belong there.

Should it be fixed by removing it or in a different way?

Markus

Markus Neteler wrote:

> BTW, I've noticed that LDFLAGS includes $(PQLIBPATH), although it
> doesn't belong there.

Should it be fixed by removing it or in a different way?

I'm not sure. Ultimately, it should be removed, but that may require
it to be added somewhere else; I wouldn't know where.

--
Glynn Clements <glynn@gclements.plus.com>