LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Cant build vlc under slackware64 current (https://www.linuxquestions.org/questions/slackware-14/cant-build-vlc-under-slackware64-current-4175594090/)

USUARIONUEVO 11-23-2016 03:11 AM

Cant build vlc under slackware64 current
 
Hi , i get an error when try to build vlc under slackware64 current.

error point to file non exist. "libglut.la"

Quote:

/usr/bin/grep: /usr/lib64/libglut.la: No such file or directory
/usr/bin/sed: can't read /usr/lib64/libglut.la: No such file or directory
libtool: error: '/usr/lib64/libglut.la' is not a valid libtool archive

that file is provided in 14.2 from package freeglut , but under current the package no have this *.la file.

some one can build vlc under current with all "updates" ? ..or only me get an error ?

Thanks.


EDIT: I found that thread googling --> https://forum.videolan.org/viewtopic.php?t=126154

Talk arround disable libcaca , but then libcaca need rebuild ?

business_kid 11-23-2016 04:41 AM

It seems like you're missing the freeglut package.

onebuck 11-23-2016 06:17 AM

Member response
 
Hi,

Why not try using AlienBob's vlc package for '-current';
Quote:

vlc: vlc (multimedia player for various audio and video formats) vlc: vlc: VLC media player is a highly portable multimedia player for various vlc: audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) vlc: as well as DVDs, VCDs, and various streaming protocols. vlc: It can also be used as a server to stream in unicast or multicast in vlc: IPv4 or IPv6 on a high-bandwidth network. vlc: vlc: vlc: vlc home: http://www.videolan.org/vlc/ vlc:
Hope this helps.
Have fun & enjoy!
:hattip:

chris.willing 11-23-2016 07:18 AM

As you say, freeglut is missing libglut.la in -current.

If you're prepared to rebuild freeglut, libglut.la can be included ....
1. cd current/source/x/freeglut
2. edit freeglut.SlackBuild by adding these lines just after 'make install DESTDIR=$PKG || exit 1'
Code:

libtool --mode=link gcc -o lib/libglut.la lib/libglut.so
cp lib/libglut.la $PKG/usr/lib$LIBDIRSUFFIX
cp lib/.libs/libglut.a $PKG/usr/lib$LIBDIRSUFFIX

Now run the edited freeglut.SackBuild and then install the resulting package with
Code:

upgradepkg --reinstall /tmp/freeglut-3.0.0-x86_64-1.txz
vlc will now build OK.

chris

ponce 11-23-2016 07:32 AM

...or, in alternative, you can also rebuild libcaca adding to the configure options "--disable-doc" (or latex will break the build).

USUARIONUEVO 11-23-2016 09:21 AM

Quote:

Originally Posted by ponce (Post 5633771)
...or, in alternative, you can also rebuild libcaca adding to the configure options "--disable-doc" (or latex will break the build).

Thats the way ,and i enter forum to say the same.

Little exception is i rebuild libcaca beta19 (current have beta18) , and yes, doc is break , i need disable it.



I think , the correct way is current need rebuild libcaca , because is linked to older "freeglut", package and the 3.0.0 is little different.

Probably other software go in error , when compile against current libcaca package.


Thanks all.


All times are GMT -5. The time now is 10:41 AM.