Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

libtool --tag error when emerge'ing rep-gtk on AMD64

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
fronck
n00b
n00b
Posts: 19
Joined: Sun Jan 09, 2005 12:53 pm

libtool --tag error when emerge'ing rep-gtk on AMD64

  • Quote

Post by fronck » Sun Jan 09, 2005 1:44 pm

Hiya,

First off, let me get the problem out of the way:
When emerging rep-gtk (on my AMD64 box). I get the following errord from the build:

Code: Select all

checking host system type... x86_64-pc-linux-gnu
(this line would fail before I emerged the new librep version. It would claim that x86_64-pc-linux-gnu was an unknown host type)
.. and later on

Code: Select all

libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [rep-types.lo] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [rep-gtk.lo] Error 1
There are a lot of references on this error, but none of the solutions seem to work for me. I have tried the following:
Re-emerge libtool:

Code: Select all

emerge libtool
(This worked for me while building Gnome, which otherwise produced the same error at first)

Setting various ebuild variables:
(references: Forum thread 269120, Bugzilla bug 70514, Forum thread 185353)

Code: Select all

CXX="x86_64-pc-linux-gnu-g++" emerge rep-gtk
CFLAGS="" CXXFLAGS="" FEATURES="-*" emerge --oneshot rep-gtk
Even mucking about the .ebuild file:
(References: Forum thread 268950)

Code: Select all

src_compile() {
    libtoolize --copy --force     # adding this line will fix it for now
    econf \
        --disable-dependency-tracking \
        `use_with jpeg` \
        `use_with tiff` \
        `use_with zlib` \
        `use_with python` || die
    emake || die "emake failed"
} 
None of the above made any change in the build process or the error message.
Howeger, I WAS able to produce an alternate error by running

Code: Select all

CHOST="i386-pc-linux-gnu" CC="x86_64-pc-linux-gnu-g++" CXX="x86_64-pc-linux-gnu-g++" emerge rep-gtk
Changing the CHOST seems to appeace libtool, but instead the compile itself dies with a whole slew of casting errors in rep-types.c and rep-gtk.c
Snipplet:

Code: Select all

rep-types.c: In function `char* sgtk_rep_to_string(repv)':
rep-types.c:131: error: invalid conversion from `u_char*' to `char*'
rep-types.c: In function `repv sgtk_string_to_rep(char*)':
rep-types.c:140: error: invalid conversion from `char*' to `const u_char*'
rep-types.c:140: error:   initializing argument 1 of `repv rep_string_dup(const u_char*)'
...

Code: Select all

rep-gtk.c: In function `sgtk_type_info* sgtk_get_type_info(GType)':
rep-gtk.c:105: error: invalid conversion from `void*' to `sgtk_type_info*'
rep-gtk.c: In function `GType sgtk_try_missing_type(char*)':
rep-gtk.c:195: error: invalid conversion from `int' to `GTypeFlags'
rep-gtk.c:195: error:   initializing argument 4 of `GType g_type_register_static(GType, const gchar*, const GTypeInfo*, GTypeFlags)'
rep-gtk.c: In function `void sgtk_set_gclosure(repv, GClosure*)':
(Note: I am running make -j2)

The ebuild itself dies in the same place as ever:

Code: Select all

!!! ERROR: x11-libs/rep-gtk-0.18 failed.
!!! Function src_compile, Line 48, Exitcode 2
Someone give me a clue? :)
Top
Post Reply
1 post • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic