[maemo-developers] Embed microb

From: Andrew Gatt a.gatt at btinternet.com
Date: Wed Dec 5 14:36:03 EET 2007
Andrew Gatt wrote:
> tonikitoo (Antonio Gomes) wrote:
>   
>>> Thanks "use 'dpkg-buildpackage -rfakeroot' " is what i was looking for.
>>> However now i've got a different problem. Using this command spots a
>>> dependency issue with libidl-dev. Trying apt-get install libidl-dev gives:
>>>
>>> Reading package lists... Done
>>> Building dependency tree... Done
>>> W: Couldn't stat source package list file: chinook/explicit Packages
>>> (/var/lib/apt/lists/_home_maemo_maemo-sdk-nokia-binaries%5f4.0_dists_chinook_explicit_binary-i386_Packages)
>>> - stat (2 No such file or directory)
>>> W: You may want to run apt-get update to correct these problems
>>> E: Couldn't find package libidl-dev
>>>
>>> Running apt-get update gives:
>>>
>>> Ign file: chinook Release.gpg
>>> Ign file: chinook Release
>>> Err file: chinook/explicit Packages
>>>   File not found
>>> Ign http://repository.maemo.org bora Release.gpg
>>> Ign http://repository.maemo.org bora Release.gpg
>>> Hit http://repository.maemo.org bora Release
>>> Hit http://repository.maemo.org bora Release
>>> Ign http://repository.maemo.org bora/free Packages/DiffIndex
>>> Ign http://repository.maemo.org bora/non-free Packages/DiffIndex
>>> Ign http://repository.maemo.org bora/free Sources/DiffIndex
>>> Ign http://repository.maemo.org bora/free Packages/DiffIndex
>>> Ign http://repository.maemo.org bora/non-free Packages/DiffIndex
>>> Hit http://repository.maemo.org bora/free Packages
>>> Hit http://repository.maemo.org bora/non-free Packages
>>> Hit http://repository.maemo.org bora/free Sources
>>> Hit http://repository.maemo.org bora/free Packages
>>> Hit http://repository.maemo.org bora/non-free Packages
>>> Failed to fetch
>>> file:/home/maemo/maemo-sdk-nokia-binaries_4.0/dists/chinook/explicit/binary-i386/Packages.gz
>>> File not found
>>> Reading package lists... Done
>>> W: Couldn't stat source package list file: chinook/explicit Packages
>>> (/var/lib/apt/lists/_home_maemo_maemo-sdk-nokia-binaries%5f4.0_dists_chinook_explicit_binary-i386_Packages)
>>> - stat (2 No such file or directory)
>>> W: You may want to run apt-get update to correct these problems
>>> E: Some index files failed to download, they have been ignored, or old
>>> ones used instead.
>>>
>>> As mentioned i'm using the VMWare sdk, and i've installed (double
>>> clicked) the Install Nokia Binaries (Chinook). Any ideas?
>>>     
>>>       
>> humm, 'apt-get build-dep libgtkmozembed microb-engine' (or
>> libgtkembedmoz, I dont recall correctly) would work, but if it dont,
>> you can checkout the libidl the same way you did for libgtkembedmoz
>> (same repository), and build it by yourself as well.
>>
>> https://garage.maemo.org/svn/browser/mozilla/trunk/libidl/
>>
>> about you apt-get problem, maybe copying you /etc/resolv.conf from
>> outside to inside sbox ? not sure ... =/
>>
>> regards
>>
>>   
>>     
> resolv.conf is copied over, however i did notice that the chinook 
> repositories were not set up in the sources.list file. So now mine looks 
> like this:
>
> deb http://repository.maemo.org/ bora free non-free
> deb-src http://repository.maemo.org/ bora free
> deb http://repository.maemo.org/extras bora free non-free
> deb http://repository.maemo.org/ chinook free non-free
> deb-src http://repository.maemo.org/ chinook free
> deb http://repository.maemo.org/extras chinook free non-free
> deb file:/home/maemo/maemo-sdk-nokia-binaries_4.0 chinook explicit
>
> This still didn't allow me to apt-get install libidl-dev so i I checked 
> out it of svn and ran dpkg-buildpackage -rfakeroot . This throw up two 
> more dependency issues texinfo and flex. apt-get install texinfo worked. 
> However it could not find any information on the flex package. Do i need 
> to add another repository or can i check it out and build it myself?
>
>   
OK so i followed this http://scratchbox.org/wiki/Apophis-r4 under 
Crocodile heading which allowed me to compile libidl and libidl-dev 
which are now both installed using dpkg -i. Going back to the 
libgtkembedmoz svn checkout and running dpkg-buildpackage -rfakeroot 
throws up another dependency issue with bc. apt-get install bc doesn't 
work. Anyone know where i can get this from?




More information about the maemo-developers mailing list