← Back to team overview

opensand team mailing list archive

Re: Sources instalation with Ubuntu 12.04 server LTS

 

Andy,


> I perform my compilation as you suggested. Before I finished I have
> encounter additional errors which are connected for example to Python
> 2.7 which seams to be main python instance in Ubuntu 12.04. Please
> check the log file and attached screen shot to get more details.
>
> [...]
>
> 3. I moved to next step which is compilation of core where i found
> some errors/wornings about unused variables. I presume itś related to
> bug #1042661 but I am not sure. Links in bug description are not
> working at all in my case. 

Yes, it looks as ticket #1042661 [1]. I fixed the links.

[1] https://bugs.launchpad.net/opensand/+bug/1042661


> 4. During deamon compilation strange things starts to happen. First I
> have lost ¨connection" with $OPENSAND_BASE_DIR  
>
> andyg@andyg:~/opensand-trunk/opensand-daemon$ sudo python setup.py
> install_data -d $OPENSAND_BASE_DIR usage: setup.py [global_opts] cmd1
> [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...]
>   or: setup.py --help-commands
>   or: setup.py cmd --help
>
> error: option -d requires argument
> andyg@andyg:~/opensand-trunk/opensand-daemon$ export
> OPENSAND_BASE_DIR=/usr
> andyg@andyg:~/opensand-trunk/opensand-daemon$
> sudo python setup.py install_data -d $OPENSAND_BASE_DIR running
> [...]

Yes, it's strange. Could you try to reproduce it please?



> 5. Later on I have noticed that there is an error information which I
> atached in screen error log image. This problem apears during source
> compilation, and it stays after system reboot. 
> 
> Check atached jpg file.

It seems you did not configure the network for OpenSAND. Did you run
the instructions given there?
http://opensand.org/support/wiki/doku.php?id=installation_manual&#configure_network_and_module_opensand-daemon


> 6. I decide to investigate what is wrong and I found out that there is
> some issue with python.. this time a bit different.
>
> andyg@andyg:~$ sudo apt-get check
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies:
>  libnl-genl-3-200 : Depends: libnl-3-200 (= 3.2.3-2ubuntu2) but
> 3.2.7-2
> is installed python-prctl : Depends: python (< 2.7) but 2.7.3-0ubuntu2
> is installed E: Unmet dependencies. Try using -f.
> 
> I gues I have to correct my instalation procedures in order tu fulfil
> this.

Did you installed the libnl and libnl-route packages as states there?
http://opensand.org/support/wiki/doku.php?id=installation_manual&#build_and_install_module_opensand-daemon

If yes, these packages were done for Ubuntu 10.04 LTS. Ubuntu 12.04
provides packages for libnl and libnl-routes, so you can directly use
'apt-get install libnl libnl-routes'.

Regards,
Didier




























Follow ups

References