Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: fpausp on January 18, 2011, 10:39:56 AM

Title: Howto setup an RPM development environment for SME8
Post by: fpausp on January 18, 2011, 10:39:56 AM
Hi,

I like to setup an RPM development environment for SME8.

Is this Information working only for SME7 or for SME8 too ?

http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual#III._How_to_create_an_SME_Server_package_-_step_by_step (http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual#III._How_to_create_an_SME_Server_package_-_step_by_step)
Title: Re: Howto setup an RPM development environment for SME8
Post by: Stefano on January 18, 2011, 11:06:27 AM
mmmhhh.. what about trying? :-)

setup a virtual SME 8b6 then try..

IMHO it should work..
Title: Re: Howto setup an RPM development environment for SME8
Post by: CharlieBrady on January 19, 2011, 11:07:32 PM
I like to setup an RPM development environment for SME8.

Install CentOS5 (including compilers and development libraries). Install e-smith-devtools rpm.
Title: Re: Howto setup an RPM development environment for SME8
Post by: fpausp on January 20, 2011, 06:39:33 AM
I have done the following on sme8b6:

Code: [Select]
yum install gcc kernel-devel kernel-smp-devel cpp gcc-c++ flex cvs libstdc++-devel glibc-kernheaders glibc-headers glibc-devel

created the user joe

chsh -s /bin/bash joe
db accounts setprop joe Shell /bin/bash
cd ~/
...

I have not tested it, thats the plan for next week.

Title: Re: Howto setup an RPM development environment for SME8
Post by: CharlieBrady on January 20, 2011, 03:11:31 PM
I have done the following on sme8b6:

Why do you not like my advice?
Title: Re: Howto setup an RPM development environment for SME8
Post by: fpausp on January 20, 2011, 04:03:19 PM
Quote
Why do you not like my advice?

Sorry, I started the Installation before I read your Post and had not enough Time to finish it. I will try your solution, thanks for your answer/help.

Best