LinuxUnixLayout

Revision as of 11:30, 8 November 2006 by Patrickr (Talk | contribs)

It would be nice if the installation layout under Unix/Linux wold be more conform to FHS. This would make it easier to create packages (deb, rpm, ...)

This is now possible by following the steps, described under

http://eiffelsoftware.origo.ethz.ch/apps/websvn/filedetails.php?repname=es&path=%2Ftrunk%2FDelivery%2Fscripts%2Funix%2FREADME.unix

File layout

/usr/bin

  • estudio
  • ec
  • build
  • finish_freezing
  • vision2_tour

/usr/lib/eiffelstudio

  • library
  • precomp
  • part of studio/spec

/usr/share/eiffelstudio

  • build (except spec)
  • docs
  • eifinit
  • examples
  • studio (except some stuff)
  • vision2_tour (except spec)

/usr/include/eiffelstudio

  • studio/spec/XX/include

Unneeded

  • wizards
  • install

Misc

  • free_add_ons move into examples

Environment variables

At the moment eiffelstudio needs some environment variables set up to work correctly:

  • ISE_EIFFEL
  • ISE_PLATFORM
  • PATH

With a default layout it would be possible to hardcode default values into the compiled binary, which would be used as fallback if the environment variable is not defined.

Resources