shave breaks libgpod build with libtool 2.2.6

View: New views
1 Messages — Rating Filter:   Alert me  

shave breaks libgpod build with libtool 2.2.6

by Mike Heffner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Fedora 11 with libtool 2.2.6 I get this error when building libgpod
from SVN:

   LINK  libgpod.la
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'


It would appear that 'shave' is confusing libtool and it doesn't know to
tag the library with CC.

A real quick hack to shave-libtool.in appears to fix this:

Index: shave-libtool.in
===================================================================
--- shave-libtool.in (revision 2371)
+++ shave-libtool.in (working copy)
@@ -97,6 +97,9 @@
  if test $tag_seen -eq 0 -a x"$mode" = xcompile; then
      tag="--tag=CC"
  fi
+if test $tag_seen -eq 0 -a x"$mode" = xlink; then
+    tag="--tag=CC"
+fi

  if test -z $V; then
      if test $pass_though -eq 0; then



I have no experience with shave so I don't know if this is valid at all.
Hopefully this will help others who hit the same failure.

I'll attempt to push this issue upstream to shave, but if someone has a
better idea as to the correct fix feel free.


Mike

--

   Mike Heffner  <mikeh@...>


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gtkpod-devel mailing list
Gtkpod-devel@...
https://lists.sourceforge.net/lists/listinfo/gtkpod-devel