Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

media-libs/libdv-0.98 failing on compile

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Dalrain
Tux's lil' helper
Tux's lil' helper
Posts: 136
Joined: Tue Jul 02, 2002 10:01 pm
Location: Wooster, OH USA
Contact:
Contact Dalrain
Website

media-libs/libdv-0.98 failing on compile

  • Quote

Post by Dalrain » Thu Apr 24, 2003 7:58 pm

Hey there all, I'm having a slight problem with the media-libs/libdv-0.98 e-build. I installed mplayer, and then wanted to add encoding functionality, so I added the encode USE variable and told it to recompile mplayer. Well, it wants to install media-libs/libdv-0.98, and that wants to hate me. Here's the relevant bit with failure reason. Any ideas?

Code: Select all

/bin/sh ../libtool --silent --mode=link gcc  -g -O2 -Wall -I/usr/include/SDL -D_REENTRANT   -o gasmoff  gasmoff.o bitstream.o  -lpopt -lm  -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[2]: *** [gasmoff] Error 1
make[2]: Leaving directory `/var/tmp/portage/libdv-0.98/work/libdv-0.98/libdv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libdv-0.98/work/libdv-0.98'
make: *** [all] Error 2
Help is appriciated, thanks in advance! :)
Top
georgz
Tux's lil' helper
Tux's lil' helper
Posts: 137
Joined: Fri Dec 06, 2002 11:14 am
Location: Munich, Germany

  • Quote

Post by georgz » Mon May 19, 2003 1:29 pm

The same for me here for libdv-0.99:

Code: Select all

gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -Wall -I/usr/include/SDL -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c `test -f 'oss.c' || echo './'`oss.c
/bin/sh ../libtool --silent --mode=link gcc  -g -O2 -Wall -I/usr/include/SDL -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -o playdv  playdv.o display.o oss.o -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lXv ../libdv/libdv.la -lpopt -lm
libtool: link: cannot find the library `'
make[2]: *** [playdv] Error 1
make[2]: Leaving directory `/mnt/data/portage.tmpdir/portage/libdv-0.99/work/libdv-0.99/playdv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/data/portage.tmpdir/portage/libdv-0.99/work/libdv-0.99'
make: *** [all] Error 2

!!! ERROR: media-libs/libdv-0.99 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)
Did you resolve it?
Top
Arafaen
n00b
n00b
User avatar
Posts: 8
Joined: Mon Jun 16, 2003 1:21 am
Location: Kingston, Ontario

  • Quote

Post by Arafaen » Mon Jun 16, 2003 1:31 am

I just had the same problem. I didn't *resolve* it per se, but I hacked around it. I had to bypass emerge because it runs configure (which, in turn, regenerates the Makefiles).

The source code for libdv should reside in /var/tmp/portage/libdv-0.98/work/libdv-0.98. Go there, and add "-L/usr/kde/3.1/lib" to the CFLAGS line in libdv/Makefile and encodedv/Makefile. Then run "make ; make install" and finally, "emerge inject media-libs/libdv-0.98".

Like I say, it's a hack, but it worked. :)

-chris
Top
Cossins
Veteran
Veteran
User avatar
Posts: 1135
Joined: Fri Mar 21, 2003 4:03 pm
Location: Copenhagen, Denmark
Contact:
Contact Cossins
Website

  • Quote

Post by Cossins » Sat Jun 21, 2003 9:06 pm

I have exactly the same problem as georgz - It complains that it can't find the library `' with all three versions in portage...

Why oh why?

- Simon
Top
aardvark
Guru
Guru
User avatar
Posts: 576
Joined: Sun Jun 30, 2002 11:16 am
Contact:
Contact aardvark
Website

  • Quote

Post by aardvark » Wed Jul 02, 2003 9:05 pm

Hmmmmm, I have this problem too now in a freshly emerged system.

Exact same error. Any solutions?
Top
Cossins
Veteran
Veteran
User avatar
Posts: 1135
Joined: Fri Mar 21, 2003 4:03 pm
Location: Copenhagen, Denmark
Contact:
Contact Cossins
Website

  • Quote

Post by Cossins » Thu Jul 03, 2003 4:29 pm

I think the solution is USE="-arts"...

- Simon
Top
balk
n00b
n00b
Posts: 62
Joined: Wed Apr 10, 2002 6:28 am
Location: Olanda
Contact:
Contact balk
Website

  • Quote

Post by balk » Thu Jul 17, 2003 3:57 pm

Cossins wrote:I think the solution is USE="-arts"...

- Simon
That's a workaround, not a solution ;)

Maybe you will find the answer (or more workarounds) in this thread. I'm trying it right now
Powered by Gentoo since 1.0_rc6
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

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