| Author |
Message |
|
godnemoz
|
Post subject: Re: Installation Problems Posted: Sun Apr 26, 2009 3:39 pm |
|
 |
| User |
Joined: Sun Apr 26, 2009 3:11 pm Posts: 6
|
HELP PLEASE !!!! being trying to compile nghost under ubuntu 8.10 i got as far as nghost Code: make and comes up with a heap of errors Code: make all-recursive make[1]: Entering directory `/home/compile/nghost' Making all in src make[2]: Entering directory `/home/compile/nghost/src' Making all in nscan make[3]: Entering directory `/home/compile/nghost/src/nscan' g++ -DHAVE_CONFIG_H -I. -I../.. -Wall -Werror -I/usr/include/taglib -DPLUGIN_DIR=\"/usr/local/lib/nghost\" -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/local/include/nghost -I/usr/local/include/nghost -I/usr/local/include/nghost -I/usr/local/include/nghost -I/usr/include/taglib -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/nghost -I/usr/include/SDL -g -O2 -MT nscan-nscan.o -MD -MP -MF .deps/nscan-nscan.Tpo -c -o nscan-nscan.o `test -f 'nscan.cpp' || echo './'`nscan.cpp cc1plus: warnings being treated as errors nscan.cpp: In function ‘void daemonize()’: nscan.cpp:320: error: ignoring return value of ‘int dup(int)’, declared with attribute warn_unused_result nscan.cpp:321: error: ignoring return value of ‘int dup(int)’, declared with attribute warn_unused_result make[3]: *** [nscan-nscan.o] Error 1 make[3]: Leaving directory `/home/compile/nghost/src/nscan' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/compile/nghost/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/compile/nghost' make: *** [all] Error 2
i quite new to linux an really want to get this going please help THANX
|
|
 |
|
 |
|
Deemar
|
Post subject: Re: Installation Problems Posted: Sun Apr 26, 2009 10:33 pm |
|
 |
| User |
Joined: Wed Apr 08, 2009 2:24 am Posts: 21
|
|
Looks like we're getting the same error on the make except I'm getting it on the libnghost and you're getting it on the nghost. I can't even configure the nghost folder because it's complaining about missing something called nghostcore. And I can't do anything with the meta-dev package because it's i386. This is impossible.
|
|
 |
|
 |
|
kev000
|
Post subject: Re: Installation Problems Posted: Tue Apr 28, 2009 4:58 pm |
|
 |
| Site Admin |
 |
Joined: Sun Aug 27, 2006 9:34 am Posts: 1299 Location: Utah's Rocky Mountains
|
Is this the latest SVN? I remember making changes to nghost so it would compile on the new version of GCC found in 8.10. If you aren't compiling from svn, I recommed doing so. Code: sudo apt-get install subversion svn co https://nghost.svn.sourceforge.net/svnroot/nghost/libnghost libnghost svn co https://nghost.svn.sourceforge.net/svnroot/nghost/nghost2 nghost
the proceed to make and make install.
_________________ OpenICE Developer My Ride (2008): viewtopic.php?f=17&t=468
|
|
 |
|
 |
|
godnemoz
|
Post subject: Re: Installation Problems Posted: Thu Apr 30, 2009 11:43 am |
|
 |
| User |
Joined: Sun Apr 26, 2009 3:11 pm Posts: 6
|
hey thnx 4 that i got it compiled but when i go to run nghost i get this Code: nghost: error while loading shared libraries: libnghostgui2.so.0: cannot open shared object file: No such file or directory any help would be good so close but so far away thnx again
|
|
 |
|
 |
|
kev000
|
Post subject: Re: Installation Problems Posted: Thu Apr 30, 2009 5:50 pm |
|
 |
| Site Admin |
 |
Joined: Sun Aug 27, 2006 9:34 am Posts: 1299 Location: Utah's Rocky Mountains
|
godnemoz wrote: hey thnx 4 that i got it compiled but when i go to run nghost i get this Code: nghost: error while loading shared libraries: libnghostgui2.so.0: cannot open shared object file: No such file or directory any help would be good so close but so far away thnx again strange... nghost found it when it configured, but at run time it can no longer find it? maybe run "sudo ldconfig" ? Maybe someone else can chime in. I'm not sure on this one.
_________________ OpenICE Developer My Ride (2008): viewtopic.php?f=17&t=468
|
|
 |
|
 |
|
godnemoz
|
Post subject: Re: Installation Problems Posted: Fri May 01, 2009 10:55 am |
|
 |
| User |
Joined: Sun Apr 26, 2009 3:11 pm Posts: 6
|
Thnx mate.....it worked....you the man!!!!!! 
|
|
 |
|
 |
|
godnemoz
|
Post subject: Re: Installation Problems Posted: Fri May 01, 2009 1:22 pm |
|
 |
| User |
Joined: Sun Apr 26, 2009 3:11 pm Posts: 6
|
|
thnx again where can i get ice panel from the download link on the sf page dont work
|
|
 |
|
 |
|
Deemar
|
Post subject: Re: Installation Problems Posted: Sat May 02, 2009 3:57 am |
|
 |
| User |
Joined: Wed Apr 08, 2009 2:24 am Posts: 21
|
godnemoz wrote: thnx again where can i get ice panel from the download link on the sf page dont work Try changing PRODUCT in the Sourceforge link to PRODUCTS.
|
|
 |
|
 |
|
godnemoz
|
Post subject: Re: Installation Problems Posted: Sun May 03, 2009 11:37 am |
|
 |
| User |
Joined: Sun Apr 26, 2009 3:11 pm Posts: 6
|
|
Its me again, i got nghost up and working i have music playing but i just get any video to show up in the list to play i have config nghost and run nscan but it doesnt seem to be able to find any video i have try different formats eg .avi .mpg .mp4 but nothing shows up in the lists.. pleas help Thnx
|
|
 |
|
 |
|
kev000
|
Post subject: Re: Installation Problems Posted: Mon May 04, 2009 5:06 pm |
|
 |
| Site Admin |
 |
Joined: Sun Aug 27, 2006 9:34 am Posts: 1299 Location: Utah's Rocky Mountains
|
|
run `nscan -l4 -Fstdout -f &> log.txt` , run nghost and attach log.txt in your next post.
I've seen some similar behavior but nothing consistent enough to make me feel that it's a bug. The log may help determine the problem though.
_________________ OpenICE Developer My Ride (2008): viewtopic.php?f=17&t=468
|
|
 |
|
 |
|
godnemoz
|
Post subject: Re: Installation Problems Posted: Mon May 11, 2009 10:27 am |
|
 |
| User |
Joined: Sun Apr 26, 2009 3:11 pm Posts: 6
|
hi i did as asked an got this result Code: 05/11/2009 13:33:12 NZST:NOTICE - nghost.conf not found in ~/.nghost. Now looking in /usr/local/etc/nghost/. 05/11/2009 13:33:12 NZST:DEBUG - found config nghost.conf at /usr/local/etc/nghost/ 05/11/2009 13:33:12 NZST:NOTICE - nscan.conf not found in ~/.nghost. Now looking in /usr/local/etc/nghost/. 05/11/2009 13:33:12 NZST:DEBUG - found config nscan.conf at /usr/local/etc/nghost/ 05/11/2009 13:33:12 NZST:INFO - server address: 0.0.0.0 05/11/2009 13:33:12 NZST:ERROR - NSocket: nsocket.cpp:serverInit(83) - Error binding socket(98) - Address already in use 05/11/2009 13:33:27 NZST:INFO - server address: 0.0.0.0 05/11/2009 13:33:27 NZST:ERROR - NSocket: nsocket.cpp:serverInit(83) - Error binding socket(98) - Address already in use 05/11/2009 13:33:42 NZST:INFO - server address: 0.0.0.0 05/11/2009 13:33:42 NZST:ERROR - NSocket: nsocket.cpp:serverInit(83) - Error binding socket(98) - Address already in use 05/11/2009 13:33:57 NZST:INFO - server address: 0.0.0.0 05/11/2009 13:33:57 NZST:ERROR - NSocket: nsocket.cpp:serverInit(83) - Error binding socket(98) - Address already in use 05/11/2009 13:34:12 NZST:INFO - server address: 0.0.0.0 05/11/2009 13:34:12 NZST:ERROR - NSocket: nsocket.cpp:serverInit(83) - Error binding socket(98) - Address already in use 05/11/2009 13:34:27 NZST:INFO - server address: 0.0.0.0 05/11/2009 13:34:27 NZST:ERROR - NSocket: nsocket.cpp:serverInit(83) - Error binding socket(98) - Address already in use 05/11/2009 13:34:42 NZST:INFO - server address: 0.0.0.0 05/11/2009 13:34:42 NZST:ERROR - NSocket: nsocket.cpp:serverInit(83) - Error binding socket(98) - Address already in use
|
|
 |
|
 |
|
kev000
|
Post subject: Re: Installation Problems Posted: Tue May 12, 2009 9:06 pm |
|
 |
| Site Admin |
 |
Joined: Sun Aug 27, 2006 9:34 am Posts: 1299 Location: Utah's Rocky Mountains
|
|
if nghost can't establish the server, you may need to reboot. Linux doesn't always clean up ports after they are no longer in use. Alternatively, you can kill nscan and try to load both again.
Hope that helps.
_________________ OpenICE Developer My Ride (2008): viewtopic.php?f=17&t=468
|
|
 |
|
 |
|
tipolosko
|
Post subject: Re: Installation Problems Posted: Mon May 18, 2009 7:11 pm |
|
 |
| User |
Joined: Mon May 18, 2009 7:06 pm Posts: 3
|
|
I can reproduce the same behaviour of godnemoz: video listbox is empty: Music listbox is working fine, i can listen to songs, but video listbox is always empty. I've checked the video path, but seems to be correct.
Compiled from latest svn on debian 5 (lenny)
godnemoz: are you sure you have killed the previous nscan instance before running the command suggested from kev000 ?
|
|
 |
|
 |
|
kev000
|
Post subject: Re: Installation Problems Posted: Tue May 19, 2009 11:17 am |
|
 |
| Site Admin |
 |
Joined: Sun Aug 27, 2006 9:34 am Posts: 1299 Location: Utah's Rocky Mountains
|
tipolosko wrote: I can reproduce the same behaviour of godnemoz: video listbox is empty: Music listbox is working fine, i can listen to songs, but video listbox is always empty. I've checked the video path, but seems to be correct.
Compiled from latest svn on debian 5 (lenny)
godnemoz: are you sure you have killed the previous nscan instance before running the command suggested from kev000 ? Thanks for the logs. Here's what I found out: Quote: BaseDB: reloading table desktop 05/18/2009 14:00:00 CEST:DEBUG - BaseDB: Dropping Table desktop with query:? DROP TABLE IF EXISTS desktop 2009-05-18 14:00:00 :: Query: execute: database busy: database is locked(5) 05/18/2009 14:00:00 CEST:DEBUG - BaseDB: Creating Table video with query:? CREATE TABLE `video` (`id` INTEGER UNSIGNED AUTO_INCREMENT,`track` INTEGER UNSIGNED NOT NULL DEFAULT '0',`title` VARCHAR(200) NOT NULL,`artist` varchar(200) NOT NULL,`album` varchar(200) NOT NULL,`genre` VARCHAR(200) NOT NULL,`time` INTEGER UNSIGNED NOT NULL DEFAULT '0',`year` INTEGER UNSIGNED NOT NULL DEFAULT '0',`filename` VARCHAR(200) NOT NULL,`path` VARCHAR(500) NOT NULL, PRIMARY KEY (`id`)) 2009-05-18 14:00:00 :: Query: execute: prepare query failed: CREATE TABLE `video` (`id` INTEGER UNSIGNED AUTO_INCREMENT,`track` INTEGER UNSIGNED NOT NULL DEFAULT '0',`title` VARCHAR(200) NOT NULL,`artist` varchar(200) NOT NULL,`album` varchar(200) NOT NU 05/18/2009 14:00:00 CEST:INFO - SearchDir: searching '/home/tipolosko/video' 2009-05-18 14:00:00 :: Query: execute: database busy: database is locked(5) Note the Query: execute failures. This is likely because of some threading issues ie that only affects sqlite. Can you try mysql and reproduce this? I'll look into a better way to lock the database so that multiple queries don't try to access it at the same time... I may not have time to fix this in the near future because of work. Anyway I can get you to create a bug report? http://bugs.openice.org? EDIT: I just extended the database busy wait period from 1000ms to 5000ms. I hope that temporarily fixes the issue. (revision 1762)
_________________ OpenICE Developer My Ride (2008): viewtopic.php?f=17&t=468
|
|
 |
|
 |
|
tipolosko
|
Post subject: Re: Installation Problems Posted: Tue May 19, 2009 5:04 pm |
|
 |
| User |
Joined: Mon May 18, 2009 7:06 pm Posts: 3
|
I've tried the latest svn but the issue remains (the video listbox is always empty), but all "busy" errors are gone! (i've attached a new nscan log) Do you think is better to try with mysql? I've opened a bug on trac, but i can't attach the logfile.. it say "You must first login before using this page." but i'm logged in... http://bugs.openice.org/bug.php?op=show&bugid=24Note: my machine is a quite old one, that's a 677Mhz VIA Nehemiah C3 with 128mb ram with shared video memory. I've inspected the db with sqlitebrowser and the table "video" is empty, while the table "music" is filled with the correct data.
|
|
 |
|
 |
|