Leif Christensen
2014-09-03 09:37:51 UTC
Hi,
bulding of base/orogen/std failed on my fresh installed ubuntu 14.04
system because of an popen call to gccxml in
tools/orogen/lib/orogen/gen/typekit.rb, which was not installed.
Were we a little bit too fast in removing the dependencies to gccxml in
our struggle to move to clang?
LG,
Leif
===== Internal error =======
Please report the following error to the orogen developers
/home/magneto/dev/tools/orogen/lib/orogen/gen/typekit.rb:1406:in
`popen': No such file or directory - gccxml (Errno::EN
OENT)
from /home/magneto/dev/tools/orogen/lib/orogen/gen/typekit.rb:1406:in
`popen'
=============================
/home/magneto/dev/tools/orogen/lib/orogen/gen/typekit.rb:1406
def resolve_toplevel_include_mapping(toplevel_files, options)
includes = options[:include].map { |v| "-I#{v}" }
defines = options[:define].map { |v| "-D#{v}" }
preprocessed = Tempfile.open('orogen_gccxml_input') do |io|
toplevel_files.each do |path|
io.puts "#include <#{path}>"
end
io.flush
result = IO.popen(["gccxml", "--preprocess",
*includes, *defines, io.path]) do |io|
io.read
end
if !$?.success?
raise ArgumentError, "failed to preprocess
#{toplevel_files.join(" ")}"
end
result
end
--
Leif Christensen
DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Stra?e 5
28359 Bremen, Germany
Phone: +49 (0)421 17845-4149
Fax: +49 (0)421 17845-4150
E-Mail: leif.christensen 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
-----------------------------------------------------------------------
bulding of base/orogen/std failed on my fresh installed ubuntu 14.04
system because of an popen call to gccxml in
tools/orogen/lib/orogen/gen/typekit.rb, which was not installed.
Were we a little bit too fast in removing the dependencies to gccxml in
our struggle to move to clang?
LG,
Leif
===== Internal error =======
Please report the following error to the orogen developers
/home/magneto/dev/tools/orogen/lib/orogen/gen/typekit.rb:1406:in
`popen': No such file or directory - gccxml (Errno::EN
OENT)
from /home/magneto/dev/tools/orogen/lib/orogen/gen/typekit.rb:1406:in
`popen'
=============================
/home/magneto/dev/tools/orogen/lib/orogen/gen/typekit.rb:1406
def resolve_toplevel_include_mapping(toplevel_files, options)
includes = options[:include].map { |v| "-I#{v}" }
defines = options[:define].map { |v| "-D#{v}" }
preprocessed = Tempfile.open('orogen_gccxml_input') do |io|
toplevel_files.each do |path|
io.puts "#include <#{path}>"
end
io.flush
result = IO.popen(["gccxml", "--preprocess",
*includes, *defines, io.path]) do |io|
io.read
end
if !$?.success?
raise ArgumentError, "failed to preprocess
#{toplevel_files.join(" ")}"
end
result
end
--
Leif Christensen
DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Stra?e 5
28359 Bremen, Germany
Phone: +49 (0)421 17845-4149
Fax: +49 (0)421 17845-4150
E-Mail: leif.christensen 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
-----------------------------------------------------------------------