Problem with installing

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
Janira
New Cone
New Cone
Posts: 1
Joined: 11 Jan 2007 15:59
Contact:

Problem with installing

Postby Janira » 11 Jan 2007 16:19

Hi, i have a Linux/Ubuntu.
I was downloaded VLS (http://download.videolan.org/pub/videolan/vls/0.5.6/) & VLS-contib (http://download.videolan.org/pub/videol ... 6/contrib/) also has established all libraries without problems I was read all help, searching all forum, but i have a problem
During compilation there was a problem:

Code: Select all

root@jan:/usr/src/vls/vls-0.5.6# ./configure --prefix=/usr/local/vls --disable-dvd --enable-dvb --enable-debug --with-libdvb=/usr/src/vls/libdvb-0.2.2 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for ranlib... ranlib checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c checking whether byte ordering is bigendian... no checking for gettimeofday... yes checking for select... yes checking for strerror... yes checking for strtol... yes checking for opendir... yes checking for usleep... yes checking for sigaction... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking return type of signal handlers... void checking for dlopen in -ldl... yes checking for crypt in -lcrypt... yes checking for connect... yes checking for gethostbyname... yes checking for sem_post... no checking for sem_post in -lposix4... no checking for nanosleep... yes checking for pthread_attr_init in -lpthread... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for strings.h... (cached) yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for getopt_long... yes checking for socklen_t... yes checking for inet_pton... yes checking for sockaddr_in6 in netinet/in.h... yes checking whether setsockopt accepts SO_BINDTODEVICE... no checking if $CXX accepts -shared... yes checking if $CXX accepts -bundle -undefined error -lcc_dynamic... no checking if $CXX accepts -rdynamic... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for dvbdriver headers in ... checking linux/dvb/frontend.h usability... yes checking linux/dvb/frontend.h presence... yes checking for linux/dvb/frontend.h... yes checking for libdvb headers in /usr/src/vls/libdvb-0.2.2... checking DVB.hh usability... yes checking DVB.hh presence... yes checking for DVB.hh... yes checking dvbpsi/dvbpsi.h usability... yes checking dvbpsi/dvbpsi.h presence... yes checking for dvbpsi/dvbpsi.h... yes configure: creating ./config.status config.status: creating Makefile.opts config.status: creating src/server/config.h config.status: creating src/core/defs.h config.status: src/core/defs.h is unchanged global configuration -------------------- system : linux-gnu architecture : i686 debug : 1 profiling : 0 vls configuration ----------------- vls version : 0.5.6 debug mode : 1 system logging : 1 daemon mode : built-in modules : filechannel netchannel filereader ts2ts ps2ts localinput videoinput plug-in modules : dvbinput dvbreader

root@jan:/usr/src/vls/vls-0.5.6# make
dep/core/application.dpp:1: *** missing separator. Stop.
make: *** [dep/core/application.dpp] Error 2


My GCC is 4.1.2 version:

Code: Select all

root@jan:/usr/src/vls/vls-0.5.6# gcc --version gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
What have I made not so?

Albert
Cone that earned his stripes
Cone that earned his stripes
Posts: 102
Joined: 15 Mar 2006 08:17

vls

Postby Albert » 21 Jan 2007 15:04

Hello,
if you have no special reason, use vlc instead of vls.

The error is a new line character in dpp file. You have to change it like this:

application.dpp

Code: Select all

src/core/application.o dep/core/application.d : src/core/application.cpp src/core/defs.h \ src/core/../extras/getopt.h src/core/common.h src/core/debug.h \ src/core/reflect.h src/core/serialization.h src/core/string.h \ src/core/stack.h src/core/vector.h src/core/hashtable.h \ src/core/buffers.h src/core/exception.h src/core/file.h \ src/core/stream.h src/core/parsers.h src/core/settings.h src/core/log.h \ src/core/library.h src/core/module.h src/core/application.h \ src/core/stack.cpp src/core/vector.cpp src/core/hashtable.cpp \ src/core/library.cpp
into

Code: Select all

src/core/application.o dep/core/application.d : src/core/application.cpp src/core/defs.h \ src/core/../extras/getopt.h src/core/common.h src/core/debug.h \ src/core/reflect.h src/core/serialization.h src/core/string.h \ src/core/stack.h src/core/vector.h src/core/hashtable.h \ src/core/buffers.h src/core/exception.h src/core/file.h \ src/core/stream.h src/core/parsers.h src/core/settings.h src/core/log.h \ src/core/library.h src/core/module.h src/core/application.h \ src/core/stack.cpp src/core/vector.cpp src/core/hashtable.cpp \ src/core/library.cpp
The error will appear for all the *.dpp files, so a lot of work. I don't know the result, I stopped after 10 files ;-)
Albert

Albert
Cone that earned his stripes
Cone that earned his stripes
Posts: 102
Joined: 15 Mar 2006 08:17

dep/core/application.dpp:1: *** missing separator. Stop.

Postby Albert » 27 Jan 2007 23:08

Hello,
so I tried it and if you "repair" all that files, you can compile it. I did it with Kubuntu gcc-4.1

gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)

But I don't know why there is this error...
Albert[/code]

yypeng
New Cone
New Cone
Posts: 2
Joined: 31 Jan 2007 10:02

Postby yypeng » 31 Jan 2007 10:10

Edit Makefile.dep and Makefile.module.dep:

Remove the new line character like this:

Code: Select all

@$(SHELL) -ec '$(CXX) $(DCFLAGS) $(INCLUDE) $< \ | sed '\''s/$(subst .,\.,$(notdir $*))\.o[ :]*/src\/$(subst /,\/,$*).o \ dep\/$(subst /,\/,$*).d : /g'\'' > $@; \ [ -s $@ ] || rm -f $@'
into

Code: Select all

@$(SHELL) -ec '$(CXX) $(DCFLAGS) $(INCLUDE) $< \ | sed '\''s/$(subst .,\.,$(notdir $*))\.o[ :]*/src\/$(subst /,\/,$*).o \ dep\/$(subst /,\/,$*).d : /g'\'' > $@; \ [ -s $@ ] || rm -f $@'
yypeng

Albert
Cone that earned his stripes
Cone that earned his stripes
Posts: 102
Joined: 15 Mar 2006 08:17

Postby Albert » 31 Jan 2007 11:55

Hello,
you were quicker ;-) I found the same solution yesterday.
Albert

SeLLeRoNe
New Cone
New Cone
Posts: 1
Joined: 18 Nov 2007 23:54

Re: Problem with installing

Postby SeLLeRoNe » 18 Nov 2007 23:56

Hi,

ive tryed to do the last edit of Makefile.dep and Makefile.module.dep but making a new ./configure --disable-dvd ive always the same error...

Code: Select all

global configuration -------------------- system : linux-gnu architecture : i686 debug : 0 profiling : 0 vls configuration ----------------- vls version : 0.5.6 debug mode : 0 system logging : 1 daemon mode : built-in modules : filechannel netchannel filereader ts2ts ps2ts localinput videoinput plug-in modules : [23:49:57] video@lnx1.it [~/vls-0.5.6] >make dep/core/application.dpp:1: *** missing separator. Stop. make: *** [dep/core/application.dpp] Error 2
Using Debian 4.0

Can anyone help me solve this?

thanks

sozz
Blank Cone
Blank Cone
Posts: 26
Joined: 30 Jan 2008 18:38

Re: Problem with installing

Postby sozz » 30 Jan 2008 18:43

Hello everybody!
I've been having the same problem with that

Code: Select all

juanjo@juanjo-desktop:~/Desktop/IPTV/vls-0.5.6$ make Generating dependancies for src/core/application.cpp... dep/core/application.dpp:1: *** missing separator. Stop. make: *** [dep/core/application.dpp] Error 2
But after I modify it I get those ones...:

Code: Select all

juanjo@juanjo-desktop:~/Desktop/IPTV/vls-0.5.6$ make Compiling src/core/application.cpp... g++ -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DCONFIG_PATH='"/usr/local/etc/videolan/vls"' -DBUGGY_VLC -DYY_NO_UNPUT -DSYSLOG -o obj/core/application.o -c src/core/application.cpp src/core/serialization.h:43: warning: ‘class C_Serializable’ has virtual functions but non-virtual destructor src/core/hashtable.h:66: error: an explicit specialization must be preceded by ‘template <>’ src/core/hashtable.h:79: error: an explicit specialization must be preceded by ‘template <>’ src/core/hashtable.h:92: error: an explicit specialization must be preceded by ‘template <>’ src/core/parsers.h:53: warning: ‘class C_ParserHandler’ has virtual functions but non-virtual destructor src/core/library.cpp: In member function ‘void C_Library<Type, Arg>::Load()’: src/core/library.cpp:82: error: ‘DL_LAZY’ was not declared in this scope src/core/library.cpp:82: error: there are no arguments to ‘dlopen’ that depend on a template parameter, so a declaration of ‘dlopen’ must be available src/core/library.cpp:82: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) src/core/library.cpp:93: error: there are no arguments to ‘dlsym’ that depend on a template parameter, so a declaration of ‘dlsym’ must be available src/core/library.cpp:110: error: there are no arguments to ‘dlsym’ that depend on a template parameter, so a declaration of ‘dlsym’ must be available src/core/library.cpp: In member function ‘void C_Library<Type, Arg>::Unload()’: src/core/library.cpp:133: error: there are no arguments to ‘dlclose’ that depend on a template parameter, so a declaration of ‘dlclose’ must be available src/core/library.cpp: In member function ‘C_String C_Library<Type, Arg>::GetLoaderError()’: src/core/library.cpp:177: error: there are no arguments to ‘dlerror’ that depend on a template parameter, so a declaration of ‘dlerror’ must be available make: *** [obj/core/application.o] Error 1
What can I do?

Thanks

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: Problem with installing

Postby Jean-Baptiste Kempf » 30 Jan 2008 18:45

DON'T USE VLS.
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.

JREwing
New Cone
New Cone
Posts: 1
Joined: 26 Mar 2008 20:42

Re: Problem with installing

Postby JREwing » 26 Mar 2008 20:50

DON'T USE VLS.
It's simple to say, much dificult to do it. I tried VLC, have some time to be sastisfied with it. But with newer versions it become making huge memory leaks streaming DVB from linux command line only box. So if I want have usefull tv streaming in my network, there is no way then turn back to VLS, whitch works flawlesly. Iam using the server for streaming DVB only, so I have no need to use VLC advanced functions.

Sorry


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 58 guests