Post Reply 
 
Thread Rating:
  • 10 Votes - 2.3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VBA-M does not compile on GNU/Linux
Author Message
zuargo Offline
Junior Member
**

Posts: 9
Joined: Nov 2009
Reputation: 0
Post: #1
VBA-M does not compile on GNU/Linux
Hello everyone

I am trying to compile VBA-M on Archlinux x86, revision 1029, but I get this message:

Code:
CMake Error at CMakeLists.txt:414 (INSTALL):
  install PROGRAMS given directory
  "/home/zuargo/Paquetes/vba-m-gtk-svn/src/vbam-build/vbam" to install.

CMake Error: Error in cmake code at
/home/zuargo/Paquetes/vba-m-gtk-svn/src/vbam-build/src/wx/CMakeLists.txt:230:
Parse error.  Function missing ending ")".  End of file reached.
CMake Warning at po/CMakeLists.txt:42 (MESSAGE):
  wxWidgets translations overridden by GTK.

  Build again without GTK to correct.

-- Configuring incomplete, errors occurred!

I have installed cmake 2.8.4 and I run it with the following options:

Code:
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
          -DCMAKE_BUILD_TYPE=debugfull

Can anybody help me please?

Thanks in advance
07-02-2011 07:22 AM
Find all posts by this user Quote this message in a reply
Squall Leonhart Offline
The Admin with the Gunblade
*******

Posts: 1,491
Joined: Mar 2008
Reputation: 16
Post: #2
RE: VBA-M does not compile on GNU/Linux
known, the cmake files need updating on the prewx branch and trunk.

07-02-2011 09:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
zuargo Offline
Junior Member
**

Posts: 9
Joined: Nov 2009
Reputation: 0
Post: #3
RE: VBA-M does not compile on GNU/Linux
(07-02-2011 09:20 AM)Squall Leonhart Wrote:  known, the cmake files need updating on the prewx branch and trunk.

Sorry, I am very newbie in all this, can you be more clear? please

Also, now I have tried to compile the app in another folder (svn co), and I get this message:

Code:
CMake Error at CMakeLists.txt:376 (ADD_LIBRARY):
  Cannot find source file:

    fex/7z_C/7zAlloc.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

When I run cmake:

Code:
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DDATA_INSTALL_DIR:PATH=share/vbam/gtk -DENABLE_WX=OFF

Thanks in advance
07-06-2011 09:54 PM
Find all posts by this user Quote this message in a reply
cosarara97 Offline
Junior Member
**

Posts: 5
Joined: Jul 2011
Reputation: 0
Post: #4
RE: VBA-M does not compile on GNU/Linux
I'm on Linux Mint 11 x86_64.
Well, I recommend using the cmake-gui because I think it's easier, but it's my opinion Tongue
I also got your first error. It says "Build again without GTK to correct.", so I disabled GTK, and I got the your second error. Then I copied the folder "fex" inside dependencies, and it made the makefiles Smile
But now, when I run make I get the following error:
Code:
[ 23%] Built target fex
[ 70%] Built target vbamcore
[ 76%] Built target vbam
[ 77%] Building CXX object src/wx/CMakeFiles/wxvbam.dir/wxvbam.cpp.o
In file included from /home/jaume/Escriptori/vba-m2/vbam/trunk/src/wx/wxvbam.h:496:0,
                 from /home/jaume/Escriptori/vba-m2/vbam/trunk/src/wx/wxvbam.cpp:7:
/home/jaume/Escriptori/vba-m2/vbam/trunk/src/wx/opts.h:21:17: error: field ‘fs_mode’ has incomplete type
make[2]: *** [src/wx/CMakeFiles/wxvbam.dir/wxvbam.cpp.o] Error 1
make[1]: *** [src/wx/CMakeFiles/wxvbam.dir/all] Error 2
make: *** [all] Error 2
And I don't understand c++, so all I know is that there is something wrong in opts.h :/
07-23-2011 08:20 PM
Find all posts by this user Quote this message in a reply
zuargo Offline
Junior Member
**

Posts: 9
Joined: Nov 2009
Reputation: 0
Post: #5
RE: VBA-M does not compile on GNU/Linux
Quote:Then I copied the folder "fex" inside dependencies, and it made the makefiles Smile

Yes that works. On the AUR (Archlinux User Repository), the user Unknown47 fixed the PKGBUILD for the vba-m-gtk-svn package (created by Zephyr). It does not have the previous trouble that I have reported:

http://aur.archlinux.org/packages.php?ID=16851

About your issue, I don't have idea, sorry
07-24-2011 05:53 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: