Page 1 of 1
VBA-M does not compile on GNU/Linux
Posted: Fri Jul 01, 2011 5:22 pm
by zuargo
Hello everyone
Â
I am trying to compile VBA-M on Archlinux x86, revision 1029, but I get this message:
Â
Code: Select all
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: Select all
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=debugfull
Â
Can anybody help me please?
Â
Thanks in advance
VBA-M does not compile on GNU/Linux
Posted: Fri Jul 01, 2011 7:20 pm
by Squall Leonhart
known, the cmake files need updating on the prewx branch and trunk.
VBA-M does not compile on GNU/Linux
Posted: Wed Jul 06, 2011 7:54 am
by zuargo
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: Select all
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: Select all
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DDATA_INSTALL_DIR :P ATH=share/vbam/gtk -DENABLE_WX=OFF
Â
Thanks in advance
VBA-M does not compile on GNU/Linux
Posted: Sat Jul 23, 2011 6:20 am
by cosarara97
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 [img]<fileStore.core_Emoticons>/emoticons/tongue.png[/img]/emoticons/tongue@2x.png 2x" width="20" height="20" />
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 [img]<fileStore.core_Emoticons>/emoticons/smile.png[/img]/emoticons/smile@2x.png 2x" width="20" height="20" />
But now, when I run make I get the following error:
Code: Select all
[ 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 [img]<fileStore.core_Emoticons>/emoticons/unsure.png[/img]/emoticons/unsure@2x.png 2x" width="20" height="20" />
VBA-M does not compile on GNU/Linux
Posted: Sat Jul 23, 2011 3:53 pm
by zuargo
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