adding libraries to xampp to run a ruby on rails based CMS

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

adding libraries to xampp to run a ruby on rails based CMS

Postby gbucher » 07. October 2008 10:41

Hi there !

I am interested in adapting xampp to include ruby/ruby on rails dependencies in order to provide a simple installer for a CMS (http://zenadmin.org).

Could anyone give me some clue on where to start ? I understand that xampp uses libtool to compile the libraries but I do not understand how.

For example, how is mysql compiled ?

Many thanks for your answers,

Gaspard
gbucher
 
Posts: 3
Joined: 07. October 2008 10:33

Postby glitzi85 » 07. October 2008 12:21

Hi,

i think all the necessary stuff is compiled with the gcc. MySQL however is normally not compiled, as MySQL delivers precompiled Packages for nearly every OS.

If you want to use RoR with XAMPP, i think you need something like mod_ruby or mod_rails: http://wiki.rubyonrails.org/rails/pages/mod_ruby

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby gbucher » 07. October 2008 12:28

understand for the mysql librairies, but they live in a special location with xampp, so I think they need to be compiled in order to work there...

I would like to use mongrel with apache. But the first step would be to compile ruby within the xampp environment.

Gaspard
http://zenadmin.org - zena, the peaceful CMS
gbucher
 
Posts: 3
Joined: 07. October 2008 10:33

Postby glitzi85 » 07. October 2008 12:50

Hi,

no, you just Download mysql and run the installation program. This will make all necessary changes. That's the reason why xampp must be installed in the specified directory.

OK, had a look into the mongrel source files, but i have really no clue from Mac. I fear that you have to wait for the Mac-Gurus 8)

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby gbucher » 07. October 2008 13:21

Ok, I understand.

The installer just copies all files into classical /lib/ /bin/ directories. I thought xampp worked more like some kind of chrooted environment and all files would lie into /Applications/xampp/...
http://zenadmin.org - zena, the peaceful CMS
gbucher
 
Posts: 3
Joined: 07. October 2008 10:33


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 82 guests