Compile VLC git with freeglut 3.0

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
rvdboom
Blank Cone
Blank Cone
Posts: 25
Joined: 10 Jul 2013 08:10

Compile VLC git with freeglut 3.0

Postby rvdboom » 14 May 2015 13:54

Hi!
I have trouble compiling VLC git against the new freeglut 3.0.0 :

Code: Select all

make[4] : on entre dans le répertoire « /usr/src/git/vlc/modules » CCLD libzip_plugin.la CCLD librtp_plugin.la CCLD libmotion_plugin.la CCLD libcaca_plugin.la CCLD libyuv_plugin.la /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 make[4]: *** [libcaca_plugin.la] Erreur 1 make[4]: *** Attente des tâches non terminées.... make[4] : on quitte le répertoire « /usr/src/git/vlc/modules » make[3]: *** [all-recursive] Erreur 1 make[3] : on quitte le répertoire « /usr/src/git/vlc/modules » make[2]: *** [all] Erreur 2 make[2] : on quitte le répertoire « /usr/src/git/vlc/modules » make[1]: *** [all-recursive] Erreur 1 make[1] : on quitte le répertoire « /usr/src/git/vlc » make: *** [all] Erreur 2 root@coyote:/usr/src/git#
Indeed the new freeglut installation doesn't seem to provide a "/usr/lib64/libglut.la" file (these are Slackware packages) :

Code: Select all

root@coyote:/usr/src# tar tvf freeglut-3.0.0-x86_64-1rvdb.txz drwxr-xr-x root/root 0 2015-05-14 13:28 ./ drwxr-xr-x root/root 0 2015-05-14 13:28 usr/ drwxr-xr-x root/root 0 2015-05-14 13:28 usr/lib64/ -rwxr-xr-x root/root 479400 2015-05-14 13:28 usr/lib64/libglut.so.3.10.0 -rw-r--r-- root/root 633000 2015-05-14 13:28 usr/lib64/libglut.a drwxr-xr-x root/root 0 2015-05-14 13:28 usr/lib64/pkgconfig/ -rw-r--r-- root/root 260 2015-05-08 08:31 usr/lib64/pkgconfig/freeglut.pc drwxr-xr-x root/root 0 2015-05-14 13:28 usr/include/ drwxr-xr-x root/root 0 2015-05-14 13:28 usr/include/GL/ -rw-r--r-- root/root 681 2003-10-21 13:41 usr/include/GL/freeglut.h -rw-r--r-- root/root 10411 2014-10-17 18:28 usr/include/GL/freeglut_ext.h -rw-r--r-- root/root 27097 2014-10-17 18:28 usr/include/GL/freeglut_std.h -rw-r--r-- root/root 639 2003-10-21 13:41 usr/include/GL/glut.h drwxr-xr-x root/root 0 2015-05-14 13:28 install/ -rw-r--r-- root/root 183 2015-05-14 13:28 install/doinst.sh root@coyote:/usr/src#
while freeglut 2.8.1 did :

Code: Select all

root@coyote:/usr/src# tar tvf freeglut-2.8.1-x86_64-7rvdb.txz drwxr-xr-x root/root 0 2014-10-31 17:19 ./ drwxr-xr-x root/root 0 2014-10-31 17:19 usr/ drwxr-xr-x root/root 0 2014-10-31 17:19 usr/lib64/ -rwxr-xr-x root/root 428599 2014-10-31 17:19 usr/lib64/libglut.so.3.9.0 -rwxr-xr-x root/root 1386 2014-10-31 17:19 usr/lib64/libglut.la -rw-r--r-- root/root 556412 2014-10-31 17:19 usr/lib64/libglut.a drwxr-xr-x root/root 0 2014-10-31 17:19 usr/include/ drwxr-xr-x root/root 0 2014-10-31 17:19 usr/include/GL/ -rw-r--r-- root/root 681 2014-10-31 17:19 usr/include/GL/freeglut.h -rw-r--r-- root/root 26523 2014-10-31 17:19 usr/include/GL/freeglut_std.h -rw-r--r-- root/root 9007 2014-10-31 17:19 usr/include/GL/freeglut_ext.h -rw-r--r-- root/root 639 2014-10-31 17:19 usr/include/GL/glut.h drwxr-xr-x root/root 0 2014-10-31 17:19 install/ -rw-r--r-- root/root 186 2014-10-31 17:19 install/doinst.sh root@coyote:/usr/src#
I could not find any freeglut compile or install option to get a "/usr/lib64/libglut.la" file so I wonder if there is anything that can be done on the vlc side.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compile VLC git with freeglut 3.0

Postby Jean-Baptiste Kempf » 20 May 2015 23:15

You need to reconfigure VLC.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

rvdboom
Blank Cone
Blank Cone
Posts: 25
Joined: 10 Jul 2013 08:10

Postby rvdboom » 23 May 2015 20:41

Thanks for the answer.
Well that doesn't seem to be enough here. I ran a "make distclean" in the vlc directory, deleted "configure" and rerun bootstrap, and even cloned the whole directory again with git but I still get the same error.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compile VLC git with freeglut 3.0

Postby Jean-Baptiste Kempf » 26 May 2015 20:53

I have no idea, sorry.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rémi Denis-Courmont
Developer
Developer
Posts: 15318
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Compile VLC git with freeglut 3.0

Postby Rémi Denis-Courmont » 26 May 2015 21:40

Looks to me that the pkg-config file for libcaca or something underneath it, is wrong, or the config.cache file is stale.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

rvdboom
Blank Cone
Blank Cone
Posts: 25
Joined: 10 Jul 2013 08:10

Postby rvdboom » 09 Aug 2015 13:49

Sorry, it's been quite some time before I could have a look at this.
You were right, libcaca is indeed compiled against freeglut 2.8.1 and thus against linglut.la on Slackware.
I never used caca so I didn't realize the problem before.
Adding a "disable-libcaca" option to configure allowed the compilation to go through.
Thanks!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 78 guests