|
 |
|
06-18-2008, 08:53 PM
|
#31
|
|
Variable Bitrate
Join Date: Aug 2006
Location: Clearfield Utah USA
Posts: 397
|
Quote: Originally Posted by FunkyStickman 
Quick question: What kind of feedback do you need to see what's going on, Kev? Should I run nghost in debug mode and paste the output here?
Info about the distro+system your running it on, steps to reproduce the error, and finally the debug output.
Those things will help us be able to track down the bug.
thanks
__________________
OpenICE - "The Car Entertainment Platform"
http://openice.org
LinuxICE IRC chatroom: #linuxice irc.freenode.com
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
06-19-2008, 04:52 AM
|
#32
|
|
Low Bitrate
Join Date: Jun 2008
Posts: 76
|
I messed with NGhost in Debian Etch a little bit again early yesterday, but was exhausted and didn't get too far into it.
Resolved all but one issue over the last few days though, at leat according to installation dependencies-
libxml++ (not exact name) version required is a Ubuntu package, which, of course, I don't have in Debian.
Tonight, or whenever I have the energy, I will try using SVN version and see how it goes.
|
|
|
06-19-2008, 06:50 AM
|
#33
|
|
Low Bitrate
Join Date: Jun 2008
Posts: 76
|
Some time early in the day.
svn version works, after installing a few dev packages- sqlite3, libtag and sdl.
I still have a lot to check out, of course, but from what I have seen of NGhost, I like it.
Just not enough to run LinuxICE, which I don't like.
|
|
|
06-28-2008, 05:07 PM
|
#34
|
|
Newbie
Join Date: Apr 2008
Location: Houston, TX
Posts: 28
|
I'm unable to compile nGhost2
I'm running Debian Sid with the most current updates. All dependencies are installed.
Here is the output for ./configure:
Code:
billy@tegputer:~/trunk$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether gcc and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether closedir returns void... no
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether time.h and sys/time.h may both be included... yes
checking for vprintf... yes
checking for _doprnt... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for X... libraries , headers
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for int64_t... yes
checking for uint64_t... yes
checking for size_t... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for curl... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for pid_t... (cached) yes
checking for dup2... yes
checking for strchr... yes
checking for gstreamer... no
checking for sqlite3... no
checking for sdl... yes
checking SDL/SDL_rotozoom.h usability... yes
checking SDL/SDL_rotozoom.h presence... yes
checking for SDL/SDL_rotozoom.h... yes
checking for xmlpp... yes
checking for taglib... yes
checking for glibmm... yes
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for sys/socket.h... (cached) yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for atexit... yes
checking for bzero... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for putenv... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/plugins/Makefile
config.status: creating src/libs/plugins/interface/Makefile
config.status: creating src/libs/plugins/media/Makefile
config.status: creating src/libs/plugins/media/video/Makefile
config.status: creating src/libs/plugins/media/video/xine/Makefile
config.status: creating src/libs/plugins/media/video/ipc/Makefile
config.status: creating src/libs/plugins/media/video/phonon/Makefile
config.status: creating src/libs/plugins/media/audio/Makefile
config.status: creating src/libs/plugins/sample/Makefile
config.status: creating src/libs/plugins/download/Makefile
config.status: creating src/libs/plugins/download/curl/Makefile
config.status: creating src/libs/plugins/media/artgrabber/Makefile
config.status: creating src/libs/plugins/media/artgrabber/n2o_2k/Makefile
config.status: creating src/libs/plugins/media/audio/gstreamer/Makefile
config.status: creating src/libs/plugins/db/Makefile
config.status: creating src/libs/plugins/db/mysql/Makefile
config.status: creating src/libs/plugins/db/sqlite/Makefile
config.status: creating src/libs/plugins/client-plugins/Makefile
config.status: creating src/libs/plugins/client-plugins/HDRadioController/Makefile
config.status: creating src/libs/plugins/client-plugins/HDRadioController/src/Makefile
config.status: creating src/libs/core/Makefile
config.status: creating src/libs/log/Makefile
config.status: creating src/libs/dao/Makefile
config.status: creating src/libs/net/Makefile
config.status: creating src/libs/gui/Makefile
config.status: creating src/icons/Makefile
config.status: creating src/desktop/Makefile
config.status: creating src/nscan/Makefile
config.status: creating src/nobd/Makefile
config.status: creating src/skins/Makefile
config.status: creating src/skins/vistique/Makefile
config.status: creating src/skins/vistique/screens/Makefile
config.status: creating src/skins/vistique/screens/images/Makefile
config.status: creating src/skins/trueice/Makefile
config.status: creating nghostcore.pc
config.status: creating nghostdao.pc
config.status: creating nghostgui.pc
config.status: creating nghostlog.pc
config.status: creating nghostnet.pc
config.status: creating nghostplugins.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
And here is the output of make:
Code:
billy@tegputer:~/trunk$ make
make all-recursive
make[1]: Entering directory `/home/billy/trunk'
Making all in src
make[2]: Entering directory `/home/billy/trunk/src'
Making all in libs
make[3]: Entering directory `/home/billy/trunk/src/libs'
Making all in log
make[4]: Entering directory `/home/billy/trunk/src/libs/log'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Werror -g -O2 -MT libnghostlog_la-debugtransportsyslog.lo -MD
-MP -MF .deps/libnghostlog_la-debugtransportsyslog.Tpo -c -o libnghostlog_la-debugtransportsyslog.lo `test -f 'debugtransportsyslog.cpp' || echo
'./'`debugtransportsyslog.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Werror -g -O2 -MT libnghostlog_la-debugtransportsyslog.lo -MD -MP -MF .deps/libnghostlog_la-debugtransportsyslog.Tpo
-c debugtransportsyslog.cpp -fPIC -DPIC -o .libs/libnghostlog_la-debugtransportsyslog.o
g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Werror -g -O2 -MT libnghostlog_la-debugtransportsyslog.lo -MD -MP -MF .deps/libnghostlog_la-debugtransportsyslog.Tpo
-c debugtransportsyslog.cpp -o libnghostlog_la-debugtransportsyslog.o >/dev/null 2>&1
mv -f .deps/libnghostlog_la-debugtransportsyslog.Tpo .deps/libnghostlog_la-debugtransportsyslog.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Werror -g -O2 -MT libnghostlog_la-ndebug.lo -MD -MP -MF
.deps/libnghostlog_la-ndebug.Tpo -c -o libnghostlog_la-ndebug.lo `test -f 'ndebug.cpp' || echo './'`ndebug.cpp
g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Werror -g -O2 -MT libnghostlog_la-ndebug.lo -MD -MP -MF .deps/libnghostlog_la-ndebug.Tpo -c ndebug.cpp -fPIC -DPIC
-o .libs/libnghostlog_la-ndebug.o
g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Werror -g -O2 -MT libnghostlog_la-ndebug.lo -MD -MP -MF .deps/libnghostlog_la-ndebug.Tpo -c ndebug.cpp -o
libnghostlog_la-ndebug.o >/dev/null 2>&1
mv -f .deps/libnghostlog_la-ndebug.Tpo .deps/libnghostlog_la-ndebug.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Werror -g -O2 -MT libnghostlog_la-nerror.lo -MD -MP -MF
.deps/libnghostlog_la-nerror.Tpo -c -o libnghostlog_la-nerror.lo `test -f 'nerror.cpp' || echo './'`nerror.cpp
g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Werror -g -O2 -MT libnghostlog_la-nerror.lo -MD -MP -MF .deps/libnghostlog_la-nerror.Tpo -c nerror.cpp -fPIC -DPIC
-o .libs/libnghostlog_la-nerror.o
g++ -DHAVE_CONFIG_H -I. -I../../.. -Wall -Werror -g -O2 -MT libnghostlog_la-nerror.lo -MD -MP -MF .deps/libnghostlog_la-nerror.Tpo -c nerror.cpp -o
libnghostlog_la-nerror.o >/dev/null 2>&1
mv -f .deps/libnghostlog_la-nerror.Tpo .deps/libnghostlog_la-nerror.Plo
/bin/sh ../../../libtool --tag=CXX --mode=link g++ -Wall -Werror -g -O2 -version-info 0:0:0 -o libnghostlog.la -rpath /usr/local/lib
libnghostlog_la-debugtransportsyslog.lo libnghostlog_la-ndebug.lo libnghostlog_la-nerror.lo
g++ -shared -nostdlib /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.3.1/crtbeginS.o
.libs/libnghostlog_la-debugtransportsyslog.o .libs/libnghostlog_la-ndebug.o .libs/libnghostlog_la-nerror.o -L/usr/lib/gcc/i486-linux-gnu/4.3.1
-L/usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.3.1/../../.. -lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/i486-linux-gnu/4.3.1/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/crtn.o -Wl,-soname -Wl,libnghostlog.so.0 -o
.libs/libnghostlog.so.0.0.0
(cd .libs && rm -f libnghostlog.so.0 && ln -s libnghostlog.so.0.0.0 libnghostlog.so.0)
(cd .libs && rm -f libnghostlog.so && ln -s libnghostlog.so.0.0.0 libnghostlog.so)
ar cru .libs/libnghostlog.a libnghostlog_la-debugtransportsyslog.o libnghostlog_la-ndebug.o libnghostlog_la-nerror.o
ranlib .libs/libnghostlog.a
creating libnghostlog.la
(cd .libs && rm -f libnghostlog.la && ln -s ../libnghostlog.la libnghostlog.la)
make[4]: Leaving directory `/home/billy/trunk/src/libs/log'
Making all in plugins
make[4]: Entering directory `/home/billy/trunk/src/libs/plugins'
Making all in interface
make[5]: Entering directory `/home/billy/trunk/src/libs/plugins/interface'
/bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall
-Werror -DSYSCONFDIR=\"/usr/local/etc/\" -DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT
libnghostplugins_la-plugin_database.lo -MD -MP -MF .deps/libnghostplugins_la-plugin_database.Tpo -c -o libnghostplugins_la-plugin_database.lo `test -f
'plugin_database.cpp' || echo './'`plugin_database.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall -Werror -DSYSCONFDIR=\"/usr/local/etc/\"
-DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT libnghostplugins_la-plugin_database.lo -MD
-MP -MF .deps/libnghostplugins_la-plugin_database.Tpo -c plugin_database.cpp -fPIC -DPIC -o .libs/libnghostplugins_la-plugin_database.o
g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall -Werror -DSYSCONFDIR=\"/usr/local/etc/\"
-DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT libnghostplugins_la-plugin_database.lo -MD
-MP -MF .deps/libnghostplugins_la-plugin_database.Tpo -c plugin_database.cpp -o libnghostplugins_la-plugin_database.o >/dev/null 2>&1
mv -f .deps/libnghostplugins_la-plugin_database.Tpo .deps/libnghostplugins_la-plugin_database.Plo
/bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall
-Werror -DSYSCONFDIR=\"/usr/local/etc/\" -DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT
libnghostplugins_la-plugin_errorlog.lo -MD -MP -MF .deps/libnghostplugins_la-plugin_errorlog.Tpo -c -o libnghostplugins_la-plugin_errorlog.lo `test -f
'plugin_errorlog.cpp' || echo './'`plugin_errorlog.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall -Werror -DSYSCONFDIR=\"/usr/local/etc/\"
-DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT libnghostplugins_la-plugin_errorlog.lo -MD
-MP -MF .deps/libnghostplugins_la-plugin_errorlog.Tpo -c plugin_errorlog.cpp -fPIC -DPIC -o .libs/libnghostplugins_la-plugin_errorlog.o
g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall -Werror -DSYSCONFDIR=\"/usr/local/etc/\"
-DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT libnghostplugins_la-plugin_errorlog.lo -MD
-MP -MF .deps/libnghostplugins_la-plugin_errorlog.Tpo -c plugin_errorlog.cpp -o libnghostplugins_la-plugin_errorlog.o >/dev/null 2>&1
mv -f .deps/libnghostplugins_la-plugin_errorlog.Tpo .deps/libnghostplugins_la-plugin_errorlog.Plo
/bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall
-Werror -DSYSCONFDIR=\"/usr/local/etc/\" -DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT
libnghostplugins_la-plugin_query.lo -MD -MP -MF .deps/libnghostplugins_la-plugin_query.Tpo -c -o libnghostplugins_la-plugin_query.lo `test -f
'plugin_query.cpp' || echo './'`plugin_query.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall -Werror -DSYSCONFDIR=\"/usr/local/etc/\"
-DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT libnghostplugins_la-plugin_query.lo -MD
-MP -MF .deps/libnghostplugins_la-plugin_query.Tpo -c plugin_query.cpp -fPIC -DPIC -o .libs/libnghostplugins_la-plugin_query.o
g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall -Werror -DSYSCONFDIR=\"/usr/local/etc/\"
-DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT libnghostplugins_la-plugin_query.lo -MD
-MP -MF .deps/libnghostplugins_la-plugin_query.Tpo -c plugin_query.cpp -o libnghostplugins_la-plugin_query.o >/dev/null 2>&1
mv -f .deps/libnghostplugins_la-plugin_query.Tpo .deps/libnghostplugins_la-plugin_query.Plo
/bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall
-Werror -DSYSCONFDIR=\"/usr/local/etc/\" -DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT
libnghostplugins_la-plugin_stderrlog.lo -MD -MP -MF .deps/libnghostplugins_la-plugin_stderrlog.Tpo -c -o libnghostplugins_la-plugin_stderrlog.lo `test -f
'plugin_stderrlog.cpp' || echo './'`plugin_stderrlog.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall -Werror -DSYSCONFDIR=\"/usr/local/etc/\"
-DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT libnghostplugins_la-plugin_stderrlog.lo
-MD -MP -MF .deps/libnghostplugins_la-plugin_stderrlog.Tpo -c plugin_stderrlog.cpp -fPIC -DPIC -o .libs/libnghostplugins_la-plugin_stderrlog.o
g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall -Werror -DSYSCONFDIR=\"/usr/local/etc/\"
-DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT libnghostplugins_la-plugin_stderrlog.lo
-MD -MP -MF .deps/libnghostplugins_la-plugin_stderrlog.Tpo -c plugin_stderrlog.cpp -o libnghostplugins_la-plugin_stderrlog.o >/dev/null 2>&1
mv -f .deps/libnghostplugins_la-plugin_stderrlog.Tpo .deps/libnghostplugins_la-plugin_stderrlog.Plo
/bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall
-Werror -DSYSCONFDIR=\"/usr/local/etc/\" -DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT
libnghostplugins_la-plugin_syslog.lo -MD -MP -MF .deps/libnghostplugins_la-plugin_syslog.Tpo -c -o libnghostplugins_la-plugin_syslog.lo `test -f
'plugin_syslog.cpp' || echo './'`plugin_syslog.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libs/log -I../../../../src/libs/core -Wall -Werror -DSYSCONFDIR=\"/usr/local/etc/\"
-DBINDIR=\"/usr/local/bin/\" -DDATAROOTDIR=\"/usr/local/share/\" -DPLUGIN_DIR=\"/usr/local/lib/nghost2/\" -g -O2 -MT libnghostplugins_la-plugin_syslog.lo -MD
-MP -MF .deps/libnghostplugins_la-plugin_syslog.Tpo -c plugin_syslog.cpp -fPIC -DPIC -o .libs/libnghostplugins_la-plugin_syslog.o
plugin_syslog.cpp: In constructor 'nghost::plugin_syslog::plugin_syslog(const std::string&, int, int)':
plugin_syslog.cpp:8: error: 'strcpy' was not declared in this scope
make[5]: *** [libnghostplugins_la-plugin_syslog.lo] Error 1
make[5]: Leaving directory `/home/billy/trunk/src/libs/plugins/interface'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/billy/trunk/src/libs/plugins'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/billy/trunk/src/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/billy/trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/billy/trunk'
make: *** [all] Error 2
The specific error seems to be this:
Code:
plugin_syslog.cpp: In constructor 'nghost::plugin_syslog::plugin_syslog(const std::string&, int, int)':
plugin_syslog.cpp:8: error: 'strcpy' was not declared in this scope
I looked into this and most programs required a patch to compile with GCC 4.3, which is the GCC version I'm using:
Code:
billy@tegputer:~/trunk$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.1-3' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.1 (Debian 4.3.1-3)
Any help?
__________________
-Billy
|
|
|
06-28-2008, 05:37 PM
|
#35
|
|
Newbie
Join Date: Apr 2008
Location: Houston, TX
Posts: 28
|
Ok - I figured this out - with certain code edits make is now progressing farther before another error is hit - I'll update you in a few minutes again explaining how I fixed it all.
__________________
-Billy
|
|
|
06-28-2008, 05:56 PM
|
#36
|
|
Newbie
Join Date: Apr 2008
Location: Houston, TX
Posts: 28
|
Ok - with GCC 4.3, you are forced to include everything you use. Here is a list of files I've edited to include what they use:
Code:
src/libs/plugins/interface/plugin_syslog.cpp - added include "string.h"
src/libs/plugins/media/video/ipc/videoipc.cpp - added include "string.h"
src/libs/plugins/download/curl/download.cpp - added include "string.h" & include "malloc.h"
src/libs/net/nsocket.cpp - added include "string.h"
src/libs/gui/item.cpp - added include <stdio.h> & include <stdlib.h>
src/libs/core/nprocess.cpp - added include <stdlib.h>
src/libs/core/nthread.cpp - added include "string.h"
src/libs/core/settings.cpp - added include <stdio.h> & include <stdlib.h>
src/nscan/ninotify.cpp - added include <stdio.h> & include <sys/time.h> & include <sys/types.h> & include <unistd.h>
src/event.cpp - added braces {} around the if/else stament at line 1001
The braces edit was a weird one...
Code:
error: suggest explicit braces to avoid ambiguous 'else'
Added the braces and it worked fine.
nGhost2 now compiles & installs on my system. Time to fire it up and test out all the updates you've done
__________________
-Billy
Last edited by BillyGalbreath; 06-28-2008 at 06:19 PM.
|
|
|
06-28-2008, 06:21 PM
|
#37
|
|
Variable Bitrate
Join Date: Aug 2006
Location: Clearfield Utah USA
Posts: 397
|
wow, i wonder why so many code changes are needed with gcc 4.3. Are they more stricter with the standards?
At any rate, I need to get a VM with sid in it so I can start the LinuxICE2 repo. I'll get those changes into the nghost2 tree
__________________
OpenICE - "The Car Entertainment Platform"
http://openice.org
LinuxICE IRC chatroom: #linuxice irc.freenode.com
|
|
|
06-29-2008, 12:29 AM
|
#38
|
|
Newbie
Join Date: Apr 2008
Location: Houston, TX
Posts: 28
|
Quote: Originally Posted by kev000 
wow, i wonder why so many code changes are needed with gcc 4.3. Are they more stricter with the standards?
This is what I found on google that helped me realize what was going on:
Quote:
Your package fails to build with GCC 4.3. Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning. In GCC 4.3, the C++ header
dependencies have been cleaned up. The advantage of this is that
programs will compile faster. The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC). Some background of this can be found at
http://gcc.gnu.org/PR28080
http://lists.alioth.debian.org/piper...il/001104.html
__________________
-Billy
|
|
|
08-12-2008, 01:48 PM
|
#39
|
|
Newbie
Join Date: Jun 2008
Location: South Louisiana
Posts: 20
|
Sorry I've kind of fallen off the map, but I'm finally completing the computer build, so I'll be back at this again.
Hang in there guys, this is worth it!
|
|
|
10-11-2008, 03:34 PM
|
#40
|
|
Newbie
Join Date: Jul 2005
Posts: 28
|
nghost2 compile?
Newbile to nghost or linuxice, but just trying to demo this out.
I got the latest svn for nghost2, how would I build this?
I think I have the dependencies in for now, but ./configure gives me this error:
"No package 'nghostcore' found. "
Any ideas or a how-to for nghost2 or nghost3? Having a hard time keeping up with all the posts out there.
Just for kicks: via epia sp8000, ubuntu 2.6.24-19
thanks, -rocken
|
|
|
10-11-2008, 11:16 PM
|
#41
|
|
Newbie
Join Date: Nov 2006
Posts: 2
|
Quote: Originally Posted by rocken 
Newbile to nghost or linuxice, but just trying to demo this out.
I got the latest svn for nghost2, how would I build this?
I think I have the dependencies in for now, but ./configure gives me this error:
"No package 'nghostcore' found. "
Any ideas or a how-to for nghost2 or nghost3? Having a hard time keeping up with all the posts out there.
Just for kicks: via epia sp8000, ubuntu 2.6.24-19
thanks, -rocken
You need to have libnghost installed first before installing nghost.
here the link to the wiki: http://wiki.openice.org/index.php/Installing_nGhost
|
|
|
Yesterday, 11:51 AM
|
#42
|
|
Newbie
Join Date: Jul 2005
Posts: 28
|
nghost2 media player issues
Ok yes I dug into it and got nghost2 and the latest libnghost to compile and install. So that's all updated correctly.
I can see my media titles after changing the defaults, but nothing will play: video/avi or audio/mp3 ...
A few errors I noticed like: bad sql statements b/c the sql code is not parameterizing or escaping strings correctly, so any single quote in the title will break.
But more to the problem, mplayer (which works fine outside of nghost) but something internal with the nghost media player fails to load any file.
Anyone have this working ? tips / ideas ...
|
|
|
Today, 01:09 AM
|
#43
|
|
Variable Bitrate
Join Date: Aug 2006
Location: Clearfield Utah USA
Posts: 397
|
Quote: Originally Posted by rocken 
Ok yes I dug into it and got nghost2 and the latest libnghost to compile and install. So that's all updated correctly.
I can see my media titles after changing the defaults, but nothing will play: video/avi or audio/mp3 ...
A few errors I noticed like: bad sql statements b/c the sql code is not parameterizing or escaping strings correctly, so any single quote in the title will break.
But more to the problem, mplayer (which works fine outside of nghost) but something internal with the nghost media player fails to load any file.
Anyone have this working ? tips / ideas ...
Is this code from svn? If so, you may want to rev back a little bit, i may have done something bad to media playback in the latest. If you can provide me with a log of your errors, I'll see about getting them fixed (starting with the escaping of quotes  ).
__________________
OpenICE - "The Car Entertainment Platform"
http://openice.org
LinuxICE IRC chatroom: #linuxice irc.freenode.com
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:07 AM.
| |