On May 14, 2009, at 4:30 AM, Antonio Ognio wrote: > 2009/5/13 Leonardo Santagada <[email protected]>: > >> I think the best course of action would be to make a Ports file for >> cherokee >> as macports is pretty standard for mac developers. > > Nice to know that.. I'm already looking into it.. >
This would be great >> Another option would be to make a more or less static build and >> then use >> PackageMaker to package it. Looking at how Rudix (another packaging >> system >> for osx) packages stuff and making a makefile for cherokee (which >> will then >> end up giving you a .pkg that you can install indenpendly) would be >> my tip. > > Cool. That would be even friendlier than the MacPorts option but I > would see it as complementary and helpful to reach a different target > audience. > > So far, I've managed to create a .pkg installer using Apple's > PackageMaker.app available under /Developer/Applications/Utilities > once you've installed XCode. Ok if you are doing all this manually you don't need Rudix for anything, just configure the build to statically link any libraries that doesn't come with macosx > The installer is available here: > > http://files.gnrfan.org/cherokee/Cherokee_0.99.15.pkg > > You can see some screenshots of it here: > > http://files.gnrfan.org/cherokee/shots/ > > It will install Cherokee to /opt/cherokee since I haven't yet figured > out what's the most appropriate directory layout for Leopard. Even though I don't like it most .pkg software distributed around install things to /usr/local but /opt/cherokee is good also. > I haven't used static compilation. It's a plain ./configure > --prefix=/opt/cherokee && make && sudo make install thing for now. Without static linking libs that are not part of mac osx you are actually making a package that might not run on other computers besides yours. At least ffmpeg I know doesn't come with osx but you will have to look at which libs your cherokee binaries are linking to (there is a tool to do this, but I forgot the name). > Any hints on the best directory layout will be useful. Creating the > MacPort's PortFile is also an important goal for better Cherokee > suport in the Mac. -- Leonardo Santagada santagada at gmail.com _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
