Hello!
I downloaded The OpenOffice deb files and Sdk deb file...
I used dpkg from command line to install all the deb files.. They got
installed in /opt/openoffice4 and Sdk in /opt/openoffice4/sdk
.
I had to use deb files from the website because i could download it from
the apt-get...
I am Using Ubuntu 14.10!
When i tried to compile any example in
/opt/openoffice4/sdk/examples/DevelopersGuide/ProfUNO/ i got many errors..
.
To overcome some of these i did :
1. copied all files from sdk/bin/ to my root folder /bin/ because the error
said /bin/cppumaker : command not found
2. copied the types.rdb files to my root folder / because it said something
about registries not loaded.
3. made a few variables in the makefile like OO_SDK_HOME JAVA_HOME JAVA_BIN
to allow compilation...
4. Made folder for each example in LinuxExamples.out/bin folder because g++
always gave the error that no file or folder.
.
Now, i am able to compile the examples but when i try to run them with :
make string_samples.run
or anything like that then again i am getting errors regarding command not
found.

cd ../../../../LINUXexample.out/bin && office_connect
/bin/sh: 1: office_connect: not found
Makefile:100: recipe for target 'office_connect.run' failed
make: *** [office_connect.run] Error 127


I think it is because of this line in the makefile :

%.run: $(OUT_BIN)/%$(EXE_EXT)
cd $(subst /,$(PS),$(OUT_BIN)) && $(basename $@)

I have no experience of Makefiles and also i am new to openoffice sdk... I
am guessing that these errors are happening beacause i installed the
packages manually from dpkg instead of using apt-get,,,
Also, i did use setsdkenv_unix once but i think it didnt work as expected
as the variables in Makefile are NOT set..
.
.
It took me nearly a week to figure out these errors and now my patience is
wearing out. I know that has to be an elegant solution to this problem.
Please help!
.
Abhinav

Reply via email to