sudo apt-get install subversion
sudo apt-get install glade-2
Probably the first step is to type svn --version (or similar) and check if it is installed, so there is no need to install it.
Maybe we could point to a website where packages installation for Linux is explained, so we don't have to go to that level of details in the wiki.
cd ./harbour-project/branches/harbour-1.0
chmod +x ./make_gnu.sh
./make_gnu.sh
Also it may be a good idea to explain that libraries start with "lib..." and ends with ".a" and where they are placed by make_gnu.sh, so they can be copied all together to a lib folder.
I would explain what Linux packages are required to be installed in order to build and run FiveLinux applications.
# ./buildh.sh
clear
if [ $# = 0 ]; then
echo syntax: ./build.sh file [options...]
exit
fi
echo compiling...
./../../harbour/bin/harbour $1 -n -I./../include -I./../../harbour/include $2
echo compiling C module...
gcc $1.c -c -I./../include -I./../../harbour/include `pkg-config --cflags gtk+-2.0`
echo linking...
gcc $1.o -o$1 -L./../lib -L./../../harbour/lib `pkg-config --libs gtk+-2.0` `pkg-config --libs libglade-2.0` `pkg-config --libs libgnomeprintui-2.2` -Wl,--start-group -lfive -lfivec -lhbcommon -lhbvm -lhbrtl -lhbrdd -lhbmacro -lhblang -lhbcpage -lhbpp -lrddntx -lrddcdx -lrddfpt -lhbsix -lhbusrrdd -lhbct -lgtstd -lhbdebug -lgttrm -lm -lgpm -lncurses -Wl,--end-group
rm $1.c
rm $1.o
echo done!
./$1
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 96 guests