Last active
October 22, 2019 23:51
-
-
Save danielhams/db71798cf3c0f487dcfd0c6125e0ff2f to your computer and use it in GitHub Desktop.
Instructions for fixing the rpm installation dirs with didbs 0.1.6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to get "rpm" fixed and installed in the right directory | |
----------------------------------------------------------- | |
I assume you've got the appropriate pre-requisites installed for didbs. | |
Extract the didbs 0.1.6 gcc release under /usr/didbs | |
cd /usr/didbs | |
gunzip usr-didbs-0.1.6-n32m3gcc.tar.gz |tar xf | |
Fix up a "current" symbolic link to this extract (must be to the things just extracted!): | |
ln -s 0_1_6_n32_mips3_gcc current | |
Now we'll clone the didbs git repository with the fix | |
git clone https://github.com/danielhams/didbs.git didbs.git | |
cd didbs.git | |
Next in this same directory, create the didbs config file "bootstrap.conf" with these contents: | |
--packagedir /usr/didbs/0_1_package | |
--compiler gcc | |
--isa mips3 | |
--installdir /usr/didbs/0_1_6_n32_mips3_gcc | |
--builddir /usr/didbs/0_1_6_n32_mips3_gcc_build | |
--elfwidth n32 | |
--stoponuntested | |
Now in this dir, try a "dry run" of didbs to be sure it will only try to rebuild libdicl, libpopt and rpm: | |
./bootstrap.pl --dryrun | |
Verify it's only the mentioned packages - then we can "unleash the build": | |
./bootstrap.pl | |
If all successful, you should now see "rpm" and related tools under /usr/didbs/0_1_6_n32_mips3_gcc/bin | |
ls -alrt /usr/didbs/0_1_6_n32_mips3_gcc/bin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bootstrapping in progress. thanks for this work