Announcement

Collapse
No announcement yet.

Build on Mandriva 2010

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Build on Mandriva 2010

    Hello,
    I am new in this forum, and I am working on a carpc project based on a eeepc 701 runing mandriva 2010. I already have something working, but I was trying to find some nice carpc frontend and I found this revfe. Unfortunately, I was unable to build it on my mandriva box. I did checkout from svn (rev 86) and need to do small fixes related to phonon includes. Then I stuck in this error:

    make[2]: Entering directory `/downloads/carpal/trunk/Plugins/WindowManager'
    g++ -c -pipe -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/include/phonon -I/usr/lib/qt4/include -I. -I../../CarPal -I/usr/lib/qt4/include/phonon_compat/phonon -I/usr/lib/qt4/include/phonon_compat -I/usr/include/KDE/Phonon -I. -o WindowManager.o WindowManager.cpp
    In file included from WindowManager.cpp:21:
    WindowManager.h:34:28: error: ELoadingWindow.h: No such file or directory
    In file included from WindowManager.cpp:21:
    WindowManager.h:48: error: ISO C++ forbids declaration of 'ELoadingWindow' with no type
    WindowManager.h:48: error: expected ';' before '*' token
    WindowManager.cpp:44: warning: unused parameter 'pluginName'
    WindowManager.cpp:44: warning: unused parameter 'message'
    WindowManager.cpp: In member function 'virtual void WindowManager:assPluginMessage(QString, IPCMessage)':
    WindowManager.cpp:81: warning: unused variable 'stop'
    WindowManager.cpp:98: error: 'widget' was not declared in this scope
    WindowManager.cpp:98: error: expected type-specifier before 'ELoadingWindow'
    WindowManager.cpp:98: error: expected ';' before 'ELoadingWindow'
    WindowManager.cpp:266: error: 'widget' was not declared in this scope
    WindowManager.cpp:273: error: 'widget' was not declared in this scope
    WindowManager.cpp: In member function 'void WindowManager::animationCallback()':
    WindowManager.cpp:450: warning: unused variable 'x1'
    WindowManager.cpp:451: warning: unused variable 'x2'
    WindowManager.cpp:635: warning: unused variable 'x3'
    WindowManager.cpp:636: warning: unused variable 'x4'
    WindowManager.cpp:637: warning: unused variable 'dd'
    WindowManager.cpp:544: warning: unused variable 'x1'
    WindowManager.cpp:545: warning: unused variable 'x2'
    make[2]: *** [WindowManager.o] Error 1
    make[2]: Leaving directory `/downloads/carpal/trunk/Plugins/WindowManager'
    make[1]: *** [sub-WindowManager-make_default-ordered] Error 2
    make[1]: Leaving directory `/downloads/carpal/trunk/Plugins'
    make: *** [sub-Plugins-make_default-ordered] Error 2

    Any clue on what is happening? On my understanding, I am missing ELoadingWindow.h, but I was unable to find it nowhere.
    Thanks in advance and sorry for the long post.

  • #2
    Yeah sorry, SVN has been broken for a bit. I was in the middle of playing around with some new stuff when I kinda wandered off I'll try to get that fixed asap.
    "stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
    RevFE
    My Shop

    Comment


    • #3
      Originally posted by malcom2073 View Post
      Yeah sorry, SVN has been broken for a bit. I was in the middle of playing around with some new stuff when I kinda wandered off I'll try to get that fixed asap.
      Thank you! I am looking forward to try this front end

      Comment


      • #4
        Out of curiosity, why did you pick mandriva for a car pc?
        My Nearly Complete Car:
        http://www.mp3car.com/vbulletin/show...ed-car-pc.html

        Micro Control Center... Control Your Car Across the Internet
        http://www.mp3car.com/fusion-brain/1...-internet.html

        Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
        http://paulfurtado.com/

        Comment


        • #5
          Originally posted by PaulF View Post
          Out of curiosity, why did you pick mandriva for a car pc?
          Actually I work at Mandriva (in the brazilian labs). Maybe it is not the best choice, but it is the easiest to me

          Comment


          • #6
            Originally posted by yoshihiro View Post
            Actually I work at Mandriva (in the brazilian labs). Maybe it is not the best choice, but it is the easiest to me
            Oh wow, that's pretty cool. Fully understand. The only issue I really see is that it will take some time to boot up.
            My Nearly Complete Car:
            http://www.mp3car.com/vbulletin/show...ed-car-pc.html

            Micro Control Center... Control Your Car Across the Internet
            http://www.mp3car.com/fusion-brain/1...-internet.html

            Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
            http://paulfurtado.com/

            Comment


            • #7
              Originally posted by PaulF View Post
              Oh wow, that's pretty cool. Fully understand. The only issue I really see is that it will take some time to boot up.
              Actually mine is based on a 701 eeepc: from power button to a full desktop view it tooks around 23s. I can trim about 3 to 5s from that time by enabling boot booster again.

              Comment


              • #8
                Originally posted by yoshihiro View Post
                Actually mine is based on a 701 eeepc: from power button to a full desktop view it tooks around 23s. I can trim about 3 to 5s from that time by enabling boot booster again.
                That's awesome then. I guess Mandriva has come a long way since I last tried it.
                My Nearly Complete Car:
                http://www.mp3car.com/vbulletin/show...ed-car-pc.html

                Micro Control Center... Control Your Car Across the Internet
                http://www.mp3car.com/fusion-brain/1...-internet.html

                Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
                http://paulfurtado.com/

                Comment


                • #9
                  The code in svn should be back up to par, I just tested it and it works.
                  "stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
                  RevFE
                  My Shop

                  Comment


                  • #10
                    Originally posted by malcom2073 View Post
                    The code in svn should be back up to par, I just tested it and it works.
                    Thanks malcom2073!

                    Just tried and it compiled fine (just need to fix include dirs for phonon, among other things, should be related to qt version and Mandriva's includes dirs), but got nothing after running the program (tested on xnest and on a "live" machine, same results):

                    [[email protected] ~]$ DISPLAY=:2 RevFE
                    Replaced ~ with home directory: "musicdir=/home/miura/Music" :: /home/miura
                    Loading plugin class: "libAppLauncherPlugin.so"
                    Loading plugin class: "libDateTimeOskPlugin.so"
                    Loading plugin class: "libFileBrowserPlugin.so"
                    Loading plugin class: "libFuelTrackerPlugin.so"
                    Loading plugin class: "libGPSReaderPlugin.so"
                    Loading plugin class: "libGuiEventHandlerPlugin.so"
                    Loading plugin class: "libListSearcherPlugin.so"
                    Loading plugin class: "libMediaEnginePlugin.so"
                    Loading plugin class: "libMediaLibraryPlugin.so"
                    Loading plugin class: "libPluginManagerPlugin.so"
                    Loading plugin class: "libRadioPalPlugin.so"
                    Loading plugin class: "libSingleLineOskPlugin.so"
                    Loading plugin class: "libWindowManagerPlugin.so"
                    Starting plugin class : "/usr/share/revfe/plugins/libAppLauncherPlugin.so"
                    Plugin Found: "/usr/share/revfe/plugins/libAppLauncherPlugin.so"
                    Plugin loaded: "/usr/share/revfe/plugins/libAppLauncherPlugin.so"
                    Plugin init complete: "/usr/share/revfe/plugins/libAppLauncherPlugin.so"
                    Starting plugin class : "/usr/share/revfe/plugins/libDateTimeOskPlugin.so"
                    Plugin Found: "/usr/share/revfe/plugins/libDateTimeOskPlugin.so"
                    Plugin loaded: "/usr/share/revfe/plugins/libDateTimeOskPlugin.so"
                    Plugin init complete: "/usr/share/revfe/plugins/libDateTimeOskPlugin.so"
                    Starting plugin class : "/usr/share/revfe/plugins/libFileBrowserPlugin.so"
                    Plugin Found: "/usr/share/revfe/plugins/libFileBrowserPlugin.so"
                    Plugin loaded: "/usr/share/revfe/plugins/libFileBrowserPlugin.so"
                    Plugin init complete: "/usr/share/revfe/plugins/libFileBrowserPlugin.so"
                    Starting plugin class : "/usr/share/revfe/plugins/libFuelTrackerPlugin.so"
                    Plugin Found: "/usr/share/revfe/plugins/libFuelTrackerPlugin.so"
                    Plugin loaded: "/usr/share/revfe/plugins/libFuelTrackerPlugin.so"
                    Plugin init complete: "/usr/share/revfe/plugins/libFuelTrackerPlugin.so"
                    Starting plugin class : "/usr/share/revfe/plugins/libGPSReaderPlugin.so"
                    Plugin Found: "/usr/share/revfe/plugins/libGPSReaderPlugin.so"
                    Plugin loaded: "/usr/share/revfe/plugins/libGPSReaderPlugin.so"
                    Plugin init complete: "/usr/share/revfe/plugins/libGPSReaderPlugin.so"
                    Starting plugin class : "/usr/share/revfe/plugins/libGuiEventHandlerPlugin.so"
                    Plugin Found: "/usr/share/revfe/plugins/libGuiEventHandlerPlugin.so"
                    Plugin loaded: "/usr/share/revfe/plugins/libGuiEventHandlerPlugin.so"
                    Plugin init complete: "/usr/share/revfe/plugins/libGuiEventHandlerPlugin.so"
                    Starting plugin class : "/usr/share/revfe/plugins/libListSearcherPlugin.so"
                    Plugin Found: "/usr/share/revfe/plugins/libListSearcherPlugin.so"
                    Plugin loaded: "/usr/share/revfe/plugins/libListSearcherPlugin.so"
                    Plugin init complete: "/usr/share/revfe/plugins/libListSearcherPlugin.so"
                    Starting plugin class : "/usr/share/revfe/plugins/libMediaEnginePlugin.so"
                    Plugin Found: "/usr/share/revfe/plugins/libMediaEnginePlugin.so"
                    Plugin loaded: "/usr/share/revfe/plugins/libMediaEnginePlugin.so"
                    QObject: Cannot create children for a parent that is in a different thread.
                    (Parent is QApplication(0xbfd01c88), parent's thread is QThread(0x88ba3b8), current thread is PluginThreadClass(0x89bc2d8)

                    Comment


                    • #11
                      Ah, Mandriva names libraries differently than ubuntu, so it's not loading the WindowManager properly in the GUI Thread. I'll fix that and post an update within the hour.


                      Edit: Upon checking, it seems I was wrong, the library names are the same. I'll look into it and let you know.
                      "stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
                      RevFE
                      My Shop

                      Comment


                      • #12
                        Originally posted by malcom2073 View Post
                        Ah, Mandriva names libraries differently than ubuntu, so it's not loading the WindowManager properly in the GUI Thread. I'll fix that and post an update within the hour.


                        Edit: Upon checking, it seems I was wrong, the library names are the same. I'll look into it and let you know.
                        Hmm, which Ubuntu version are you using? I can try it on a virtualbox environment to see if I can spot something ...

                        Comment


                        • #13
                          it is confirmed to work with both 9.04 and 9.10

                          you piqued my interest... im downloading mandriva to give out a shot in a virtual box myself and see if I can figure out what is going on.
                          "stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
                          RevFE
                          My Shop

                          Comment


                          • #14
                            it is confirmed to work with both 9.04 and 9.10

                            you piqued my interest... im downloading mandriva to give out a shot in a virtual box myself and see if I can figure out what is going on.
                            "stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
                            RevFE
                            My Shop

                            Comment


                            • #15
                              Alright, so I got Mandriva installed, however have not been able to get Qt to install correctly. There are no Qt-Phonon packages that I can find using urpmq... any suggestions?
                              "stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
                              RevFE
                              My Shop

                              Comment

                              Working...
                              X