I am having a lot of fun with the suse studio - like a play ground with lots of toys!
Ok, I would like to add compiled code into the LiveDVD. This code should be located under /usr/local/bin with “chmod rx+ao” so that it can be executed by any user. Also, the help file should be under /usr/local. So, I will tar/gz the compiled code under /usr/local/bin and then, upload the tgz to suse studio - specify it is under /usr/local/bin. Will do the same for the help file. But, the code requires that firefox to be under /usr/local/bin too, so, after boot into the user account, I would like to execute this command automatically,
Hi
Don’t use /usr/local/bin. Get onto the Build Service and build as an
rpm with the configure option --prefix=/usr and you should be good to
go. Else compile as above and add so it’s in the correct place for
FHS/openSUSE.
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 9 days 3:16, 3 users, load average: 0.06, 0.08, 0.08
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15
I downloaded an open source finite element analysis code (in binary form) call CalculiX. The installation instructions are:
copy CalculiX to /usr/local/bin
copy help (html format) to /usr/local and then is expecting firefox in /usr/local/bin (hence, requires the static link).
Because CalculiX is already compiled for linux, is there a need to re-build it in rpm form? I am not sure how to deal with the help file in /usr/local when building rpm either.
Thanks! I am not aware of the cgx/ccx rpms. I am only interested in cgx. Are these source codes? Do I need to compile them for OpenSUSE?
By the way, I tried putting cgx under /usr/local/bin and the help file under /usr/local. Then, built the liveDVD and cgx actually runs without any problem. But, maybe this is not the recommended way.
Hi
Yes, they are the source rpms, but would need modification to build on
openSUSE. I recommend you do this, then can get al the correct
information, locations etc correct. Do you want me to modify and build
a rpm for you, if so what release of openSUSE are you building?
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 9 days 23:32, 2 users, load average: 0.01, 0.02, 0.01
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15
Thanks for the offer! This is not really an urgent project for me, so I would like to learn how to do this myself just to learn more about OpenSUSE linux.