[Ecls-list] RPM files can now be created

Juan Jose Garcia Ripoll juan.ripoll at mpq.mpg.de
Thu Oct 23 06:42:01 UTC 2003


Thanks to Robert Lehr, ECL has now a spec file to build RPMs. The file was 
originally developed under RedHat and should now work also with SuSE. To 
build RPMs easily, do the following:

1) Create a space on your hard disk for building RPMs. In the following 
examples it will be /home/worm/src/rpm:
   mkdir /home/worm/src/rpm
   mkdir -p -m 0755 /home/worm/src/rpm/{RPMS,SRPMS,SPECS,SOURCES,BUILD,tmp}

2) Add the following two lines to the file ~/.rpmmacros
   %_topdir /home/jlr/src/rpm
   %_buildtmp /home/jlr/src/rpm/tmp

3) Configure your copy of ECL. Just do ./configure. This will retrieve some 
useful information, ensure that your system is apt for ECL and create a 
"Makefile".

4) Issue "make rpm". If everything goes fine, you will get a source RPM in 
/home/worm/src/rpm/SRPMS and a binary file in /home/worm/src/rpm/RPMS/i386/

Please report if any of these steps does not work on your system, or whether 
you find out how to change src/util/ecl.spec for Mandrake.

Regards

Juanjo

-- 
Max-Planck-Institut fuer Quantenoptik	+49/(0)89/32905-345
Hans-Kopfermann-Str. 1, D-85748		www.mpq.mpg.de/Theorygroup/CIRAC/
Garching b. Muenchen, Germany		Juan.Ripoll at mpq.mpg.de






More information about the ecl-devel mailing list