This changeset adds support for building with google protobuf. I think the patch erroneously assumes that pkg-config will work correctly in all situations. I got the following error while trying to build gem5 --

scons: Reading SConscript files ...
Package protobuf was not found in the pkg-config search path.
Perhaps you should add the directory containing `protobuf.pc'
to the PKG_CONFIG_PATH environment variable
No package 'protobuf' found
OSError: 'pkg-config --cflags --libs-only-L protobuf' exited 1:
  File "/scratch/nilay/GEM5/gem5/SConstruct", line 646:
    main.ParseConfig('pkg-config --cflags --libs-only-L protobuf')
  File "/usr/lib/scons/SCons/Environment.py", line 1460:
    return function(self, self.backtick(command))
  File "/usr/lib/scons/SCons/Environment.py", line 593:
    raise OSError("'%s' exited %d" % (command, status))


Please take a look at into this.

--
Nilay
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to