Results 1 to 4 of 4

Thread: Can't compile nghost with filesystem listbox

  1. #1
    Low Bitrate
    Join Date
    May 2010
    Posts
    83

    Can't compile nghost with filesystem listbox

    Code:
    jusitn@jusitn-linuxice:~/nghost/trunk$ sudo make
    make  all-recursive
    make[1]: Entering directory `/home/jusitn/nghost/trunk'
    Making all in src
    make[2]: Entering directory `/home/jusitn/nghost/trunk/src'
    Making all in nscan
    make[3]: Entering directory `/home/jusitn/nghost/trunk/src/nscan'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/jusitn/nghost/trunk/src/nscan'
    Making all in skins
    make[3]: Entering directory `/home/jusitn/nghost/trunk/src/skins'
    Making all in vistique
    make[4]: Entering directory `/home/jusitn/nghost/trunk/src/skins/vistique'
    Making all in screens
    make[5]: Entering directory `/home/jusitn/nghost/trunk/src/skins/vistique/screens'
    Making all in images
    make[6]: Entering directory `/home/jusitn/nghost/trunk/src/skins/vistique/screens/images'
    Making all in menu_buttons
    make[7]: Entering directory `/home/jusitn/nghost/trunk/src/skins/vistique/screens/images/menu_buttons'
    make[7]: Nothing to be done for `all'.
    make[7]: Leaving directory `/home/jusitn/nghost/trunk/src/skins/vistique/screens/images/menu_buttons'
    Making all in weather
    make[7]: Entering directory `/home/jusitn/nghost/trunk/src/skins/vistique/screens/images/weather'
    make[7]: Nothing to be done for `all'.
    make[7]: Leaving directory `/home/jusitn/nghost/trunk/src/skins/vistique/screens/images/weather'
    make[7]: Entering directory `/home/jusitn/nghost/trunk/src/skins/vistique/screens/images'
    make[7]: Nothing to be done for `all-am'.
    make[7]: Leaving directory `/home/jusitn/nghost/trunk/src/skins/vistique/screens/images'
    make[6]: Leaving directory `/home/jusitn/nghost/trunk/src/skins/vistique/screens/images'
    make[6]: Entering directory `/home/jusitn/nghost/trunk/src/skins/vistique/screens'
    make[6]: Nothing to be done for `all-am'.
    make[6]: Leaving directory `/home/jusitn/nghost/trunk/src/skins/vistique/screens'
    make[5]: Leaving directory `/home/jusitn/nghost/trunk/src/skins/vistique/screens'
    make[5]: Entering directory `/home/jusitn/nghost/trunk/src/skins/vistique'
    make[5]: Nothing to be done for `all-am'.
    make[5]: Leaving directory `/home/jusitn/nghost/trunk/src/skins/vistique'
    make[4]: Leaving directory `/home/jusitn/nghost/trunk/src/skins/vistique'
    Making all in trueice
    make[4]: Entering directory `/home/jusitn/nghost/trunk/src/skins/trueice'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/jusitn/nghost/trunk/src/skins/trueice'
    make[4]: Entering directory `/home/jusitn/nghost/trunk/src/skins'
    make[4]: Nothing to be done for `all-am'.
    make[4]: Leaving directory `/home/jusitn/nghost/trunk/src/skins'
    make[3]: Leaving directory `/home/jusitn/nghost/trunk/src/skins'
    Making all in icons
    make[3]: Entering directory `/home/jusitn/nghost/trunk/src/icons'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/jusitn/nghost/trunk/src/icons'
    Making all in desktop
    make[3]: Entering directory `/home/jusitn/nghost/trunk/src/desktop'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/jusitn/nghost/trunk/src/desktop'
    make[3]: Entering directory `/home/jusitn/nghost/trunk/src'
    g++ -DHAVE_CONFIG_H -I. -I..    -Wall -g -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL    -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/taglib   -DPLUGIN_DIR=\"/usr/local/lib/nghost\" -DHAS_QT -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore   -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/nghost   -I/usr/include/nghost -I/usr/include/taglib   -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/nghost -I/usr/include/SDL -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/taglib -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/nghost   -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/nghost -I/usr/include/SDL   -I/usr/include/nghost   -g -O2 -MT nghost-event.o -MD -MP -MF .deps/nghost-event.Tpo -c -o nghost-event.o `test -f 'event.cpp' || echo './'`event.cpp
    event.cpp: In member function ‘int EventClass::ifListboxEvent()’:
    event.cpp:379: error: ‘class nghost::SearchDir’ has no member named ‘isDir’
    event.cpp: In member function ‘int EventClass::doListBoxAction(nghost::ActionClass, int)’:
    event.cpp:1020: error: ‘fsListBox’ is not a member of ‘nghost’
    event.cpp:1020: error: ‘fsl’ was not declared in this scope
    event.cpp:1020: error: expected type-specifier
    event.cpp:1020: error: expected `>'
    event.cpp:1020: error: expected `('
    event.cpp:1020: error: ‘fsListBox’ is not a member of ‘nghost’
    event.cpp:1020: error: expected primary-expression before ‘>’ token
    event.cpp:1020: error: expected `)' before ‘;’ token
    event.cpp:1034: error: ‘fsListBox’ is not a member of ‘nghost’
    event.cpp:1034: error: ‘fsl’ was not declared in this scope
    event.cpp:1034: error: expected type-specifier
    event.cpp:1034: error: expected `>'
    event.cpp:1034: error: expected `('
    event.cpp:1034: error: ‘fsListBox’ is not a member of ‘nghost’
    event.cpp:1034: error: expected primary-expression before ‘>’ token
    event.cpp:1034: error: expected `)' before ‘;’ token
    event.cpp:1046: error: ‘fsListBox’ is not a member of ‘nghost’
    event.cpp:1046: error: ‘fsl’ was not declared in this scope
    event.cpp:1046: error: expected type-specifier
    event.cpp:1046: error: expected `>'
    event.cpp:1046: error: expected `('
    event.cpp:1046: error: ‘fsListBox’ is not a member of ‘nghost’
    event.cpp:1046: error: expected primary-expression before ‘>’ token
    event.cpp:1046: error: expected `)' before ‘;’ token
    make[3]: *** [nghost-event.o] Error 1
    make[3]: Leaving directory `/home/jusitn/nghost/trunk/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/jusitn/nghost/trunk/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/jusitn/nghost/trunk'
    make: *** [all] Error 2
    jusitn@jusitn-linuxice:~/nghost/trunk$
    got all dependencies, "./configure" and then sudo make. not sure what the problem is but i hope its easy.

    populate.cpp does contain searchDir and isDir. I downloaded the latest from the svn directed by the website.

  2. #2
    Low Bitrate
    Join Date
    May 2010
    Posts
    83
    alright after emailing IonIdea and talking with the guys on the irc channel, I have gotten the filesystem support to work. Heres a quick howto.

    1.) here is the script i wrote to download the source, patch it, and build/install nghost. It automatically installs the required dependencies and whatnot. This script works on a brand new install of linuxice so it should work for you as well.

    Code:
    #install dependencies
    sudo apt-get install libqt4-dev build-essential libtool automake subversion pkg-config libxml++2.6-dev libx11-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libboost-dev libtag1-dev libsqlite3-dev libcurl4-openssl-dev libdbus-1-dev libltdl3-dev
    
    #get the files
    svn checkout -r 2049 https://nghost.svn.sourceforge.net/svnroot/nghost/libnghost libnghost
    svn checkout -r 2049 https://nghost.svn.sourceforge.net/svnroot/nghost/nghost2/trunk trunk
    wget http://ionidea.ua/nghost/sources/fslistbox-patch-0.1.tgz
    
    #patch the source for the listbox addition
    tar -zxvf fslistbox-patch-0.1.tgz
    sh apply_patch.sh
    
    #config/build/make/install lignghost
    cd libnghost
    ./autogen.sh
    ./configure
    make
    sudo make install
    
    #config/build/make/install nghost
    cd ..
    cd trunk
    ./autogen.sh
    ./configure
    make
    sudo make install
    2.) run the script in a terminal to make sure everything went okay. after that there are a few things that need to be changed.

    -if the nghost.conf file you use is in /etc/nghost then copy it to ~.nghost.
    -copy your skins in /usr/share/nghost to /usr/local/share/nghost
    You can use the ~.nghost to hold your skins like tripzero stated, it is nice to keep
    all of you files in your home directory as well.

    3.) open up /etc/ld.so.conf as root in any text editor and add "/usr/local/lib" (no quotes) to it. save the file and run "ldconfig" as root.

    4.) after all this is done, you should be set up to use the filesystem support. you can use the BlackSea skin from IonIdea's website or you can just modify your existing one to allow support. this patch is great for thumb drives and the like.
    Last edited by superman279; 04-04-2011 at 01:51 PM.

  3. #3
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    I would copy your private skins to ~/.nghost as well.

    good work!
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  4. #4
    Newbie
    Join Date
    Jan 2008
    Location
    San Francisco
    Posts
    10
    I am new to linux. How do i run this script? Do i need to create a new script using your code? Also will it resolve mp3 reading issue with Linuxice?
    Sunil

Similar Threads

  1. Filesystem Sync Plugin
    By smeesseman in forum CF Plugins
    Replies: 27
    Last Post: 02-03-2010, 12:11 PM
  2. Can't compile RR Source
    By DaveDevil in forum RR Plugins
    Replies: 3
    Last Post: 05-09-2008, 12:24 PM
  3. Can't Compile the new RR 4-11-07
    By kingmissel in forum Road Runner
    Replies: 11
    Last Post: 08-04-2007, 12:02 PM
  4. Replies: 0
    Last Post: 03-31-2007, 11:12 PM
  5. Can't compile a VB program because of $Left
    By deadweasel in forum Software & Software Development
    Replies: 4
    Last Post: 01-12-2004, 10:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •