﻿id	summary	reporter	owner	description	type	status	priority	component	resolution	keywords	cc
7	installation fails	turbo07	somebody	"Hi, 

  I reinstalled soclib from scratch on a new computer following the installation note page.

  SystemC is installed and $SYSTEMC is set.
  The cross compilers are installed for both mipsel and powerpc target. They are installed in a $CXTOOL directory and the $PATH variable is correctly set.

 When performing the Testing part of my new installation, the make command fails:

>   make
soclib-cc -P -p platform_desc  -o simulation.x
[========================W             +     ] 18 left /home.local/soclib/Soclib/soclib/lib/elf_loader/src/elf_loader.cpp:28:17: error: bfd.h: Aucun fichier ou répertoire de ce type

After investigation, bfd.h can be found into $CXTOOL/i686-pc-linux-gnu/{mipsel|powerpc}-unknown-elf/include

As indicating, I tried to modify my ~/.soclib/global.conf configuration file in order to specify the correct toolchain. I think the SoclibConf page is not quite clear: my configuration file looks like

""
config.mipsel = Config(
    base = config.toolchain,
    prefix = ""i686-pc-linux-gnu/mipsel-unknown-elf""
    )

config.use_mipsel = Config(
    base = config.default,
    toolchain = config.mipsel
    )
""

then, the following command line soclib-cc -t mipsel -P -p platform_desc  -o simulation.x*
gets the following answer: 
Traceback (most recent call last):
  File ""/home.local/soclib/Soclib/utils/lib/python/soclib-cc-main.py"", line 237, in ?
    sys.exit(main())
  File ""/home.local/soclib/Soclib/utils/lib/python/soclib-cc-main.py"", line 113, in main
    change_config(opts.type)
  File ""/usr/lib/python2.4/site-packages/cairo/__init__.py"", line 107, in change_config
    
AttributeError: Config instance has no attribute 'doConfigure'



My questions are:
   - how can I tell to soclib-cc the correct path to find the appropriate missing header file?
   - how shall a correct toolchain be declared in a global.conf configuration file?

   Thank for your help 
     Christophe

PS: In the InstallationNotes, I would suggest to add an external link for SystemCass in order to directly access the trac pages for systemcass (www-asim.lip6.fr/trac/systemcass/)



"	defect	closed	major	component1	fixed		
