public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] gnubatch-1.4 make error [OT]
@ 2011-10-04  8:14 Marius Vaitiekunas
  2011-10-04 13:00 ` Michael Orlitzky
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Vaitiekunas @ 2011-10-04  8:14 UTC (permalink / raw
  To: gentoo-user

Hello,
Maybe it is OT, but i am doing it on gentoo.
I am trying to compile gnubatch-1.4 (http://www.gnu.org/s/gnubatch/).
GCC-4.5.3, bison 2.4.3, flex 2.5.35. I get the following error
message:

cd build;make all
make[1]: Entering directory `/home/gnubatch/build'
gcc -O -g -Wall -fno-stack-protector  -Ihdrs -I..   -c -o btcharge.o btcharge.c
btcharge.c:35:13: warning: ‘Filename’ defined but not used
cd lib;make
make[2]: Entering directory `/home/gnubatch/build/lib'
libtool --mode=compile gcc -O -g -Wall -fno-stack-protector  -I../hdrs
-I../..   -c -o advtime.o advtime.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[2]: *** [advtime.o] Error 1
make[2]: Leaving directory `/home/gnubatch/build/lib'
make[1]: *** [lib/libgnubatch_int.la] Error 2
make[1]: Leaving directory `/home/gnubatch/build'
make: *** [build-src] Error 2

Anybody could explain, what should i do? Thank you in advance.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] gnubatch-1.4 make error [OT]
  2011-10-04  8:14 [gentoo-user] gnubatch-1.4 make error [OT] Marius Vaitiekunas
@ 2011-10-04 13:00 ` Michael Orlitzky
  2011-10-04 13:18   ` Michael Orlitzky
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Orlitzky @ 2011-10-04 13:00 UTC (permalink / raw
  To: gentoo-user

On 10/04/2011 04:14 AM, Marius Vaitiekunas wrote:
> Hello,
> Maybe it is OT, but i am doing it on gentoo.
> I am trying to compile gnubatch-1.4 (http://www.gnu.org/s/gnubatch/).
> GCC-4.5.3, bison 2.4.3, flex 2.5.35. I get the following error
> message:
> 
> cd build;make all
> make[1]: Entering directory `/home/gnubatch/build'
> gcc -O -g -Wall -fno-stack-protector  -Ihdrs -I..   -c -o btcharge.o btcharge.c
> btcharge.c:35:13: warning: ‘Filename’ defined but not used
> cd lib;make
> make[2]: Entering directory `/home/gnubatch/build/lib'
> libtool --mode=compile gcc -O -g -Wall -fno-stack-protector  -I../hdrs
> -I../..   -c -o advtime.o advtime.c
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
> make[2]: *** [advtime.o] Error 1
> make[2]: Leaving directory `/home/gnubatch/build/lib'
> make[1]: *** [lib/libgnubatch_int.la] Error 2
> make[1]: Leaving directory `/home/gnubatch/build'
> make: *** [build-src] Error 2
> 
> Anybody could explain, what should i do? Thank you in advance.
> 

You can try exporting LIBTOOL='/usr/bin/libtool --tag=CC' before you
emerge it. This is usually a Makefile problem, I'd file a bug:

  https://bugs.gentoo.org/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] gnubatch-1.4 make error [OT]
  2011-10-04 13:00 ` Michael Orlitzky
@ 2011-10-04 13:18   ` Michael Orlitzky
  2011-10-04 19:26     ` Marius Vaitiekunas
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Orlitzky @ 2011-10-04 13:18 UTC (permalink / raw
  To: gentoo-user

On 10/04/2011 09:00 AM, Michael Orlitzky wrote:
> On 10/04/2011 04:14 AM, Marius Vaitiekunas wrote:
> 
> You can try exporting LIBTOOL='/usr/bin/libtool --tag=CC' before you
> emerge it. This is usually a Makefile problem, I'd file a bug:
> 
>   https://bugs.gentoo.org/
> 

Oh, it isn't in portage.

It's a bug in the Makefiles. The first one is in build/lib/Makefile, you
can edit the CC line to read,

  CC = libtool --tag=CC --mode=compile gcc

But, all other calls to libtool have the same problem, across multiple
Makefiles. I was able to compile it eventually, but I had to edit them all.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] gnubatch-1.4 make error [OT]
  2011-10-04 13:18   ` Michael Orlitzky
@ 2011-10-04 19:26     ` Marius Vaitiekunas
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Vaitiekunas @ 2011-10-04 19:26 UTC (permalink / raw
  To: gentoo-user

On Tue, Oct 4, 2011 at 4:18 PM, Michael Orlitzky <michael@orlitzky.com> wrote:
> On 10/04/2011 09:00 AM, Michael Orlitzky wrote:
>> On 10/04/2011 04:14 AM, Marius Vaitiekunas wrote:
>>
>> You can try exporting LIBTOOL='/usr/bin/libtool --tag=CC' before you
>> emerge it. This is usually a Makefile problem, I'd file a bug:
>>
>>   https://bugs.gentoo.org/
>>
>
> Oh, it isn't in portage.
>
> It's a bug in the Makefiles. The first one is in build/lib/Makefile, you
> can edit the CC line to read,
>
>  CC = libtool --tag=CC --mode=compile gcc
>
> But, all other calls to libtool have the same problem, across multiple
> Makefiles. I was able to compile it eventually, but I had to edit them all.
>
>
>

Yes, it isn't in portage..
I have compiled it by putting --tag=CXX. There were some other errors
also. Not so easy job to build packages without portage :)



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-04 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-04  8:14 [gentoo-user] gnubatch-1.4 make error [OT] Marius Vaitiekunas
2011-10-04 13:00 ` Michael Orlitzky
2011-10-04 13:18   ` Michael Orlitzky
2011-10-04 19:26     ` Marius Vaitiekunas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox