Koozali.org: home of the SME Server

Howto setup an RPM development environment for SME8

Offline fpausp

  • *
  • 728
  • +0/-0
Howto setup an RPM development environment for SME8
« 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
Viribus unitis

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Howto setup an RPM development environment for SME8
« Reply #1 on: January 18, 2011, 11:06:27 AM »
mmmhhh.. what about trying? :-)

setup a virtual SME 8b6 then try..

IMHO it should work..

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Howto setup an RPM development environment for SME8
« Reply #2 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.

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto setup an RPM development environment for SME8
« Reply #3 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.

Viribus unitis

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Howto setup an RPM development environment for SME8
« Reply #4 on: January 20, 2011, 03:11:31 PM »
I have done the following on sme8b6:

Why do you not like my advice?

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Howto setup an RPM development environment for SME8
« Reply #5 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
Viribus unitis