[Rock-dev] autoproj is calling libs.autobuild before handling osdeps

Alexander Duda Alexander.Duda at dfki.de
Thu Dec 16 15:41:16 CET 2010


Hi 

I need to set the environment variable for octave. For this propose
there is a tool called ocatve-config which belongs to the OS dependency
octave3.2-headers.

Unfortunately autoproj is installing the osdeps after libs.autobuild was
called therefore  

ruby_package 'tools/octave' do |pkg|
  Autoproj.env_add_path 'RUBYLIB', File.join(pkg.srcdir, "lib")
  #add octave lib to ld_library
 Autoproj.env_add_path 'LD_LIBRARY_PATH', IO.popen("octave-config -p
OCTLIBDIR").readline.chop
end

is not working.

Is it possible to tell autoporj to handle the osdeps first?

thx
Alex

-- 
Dipl.-Ing. Alexander Duda 
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: alexander.duda at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3



More information about the Rock-dev mailing list