|
From: | James E. Chargin Jr. |
Subject: | Re: [Ltib] Trouble adding new package in LTIB |
Date: | Mon, 18 Aug 2008 10:50:12 -0700 |
User-agent: | Thunderbird 2.0.0.16 (Windows/20080708) |
Stuart,Thanks for the information. My concern was with the size of termcap. Since you feel it is small, I have no objection to including it.
I did try adding --without-readline to the configure command line. This resulted in compile errors during the build of parted. I was in the midst of working on resolving these when your suggestion arrived and so I've decided to try it rather than having to end up modifying the source for parted to fix some implicit function declaration errors.
So, I've added "select PKG_TERMCAP" to packages.lkc. I've removed --without-readline from the configure command for parted. I've also made sure termcap is selected in LTIB.
Now, when I try to build parted, it has found termcap, but it is now looking for "GNU readline". Here is the output:
8-- checking for readline in -lreadline... noconfigure: error: GNU Readline could not be found which is required for the --with-readline (which is enabled by default). Either disable readline support with --without-readline or downloaded and install it from:
ftp.gnu.org/gnu/readlineNote: if you are using precompiled packages you will also need the development
package as well (which may be called readline-devel or something similar).error: Bad exit status from /home/jimc/b/ltib/ltib-mpc8315erdb-20071129/tmp/rpm-tmp.79834 (%build)
RPM build errors:Bad exit status from /home/jimc/b/ltib/ltib-mpc8315erdb-20071129/tmp/rpm-tmp.79834 (%build)
Build time for parted: 11 seconds Failed building parted f_buildrpms() returned an error, exiting Started: Mon Aug 18 10:17:20 2008 Ended: Mon Aug 18 10:19:05 2008 Elapsed: 105 seconds These packages failed to build: parted Build Failed Exiting on error or interrupt 8--I have found evidence that there is already a readline in ltib. dist/lfs-5.1/readline/readline.spec exists (It list you as the Packager).
So now, what? Is there a way to have parted use the existing readline? Should I install GNU readline, and if so, how is this best done without disturbing the existing readline?
Any thoughts? Thanks, Jim Stuart Hughes wrote:
Hi Jim, Although that will do the trick, I would try without: --without-readline To get termcap in your system, run ./ltib -m config and add it (you can search by pressing the 's' key). Termcap is a fairly small package and is normally included in most systems (even small ones). If you decide this is what you want, you can enforce this selection by adding the clause: select PKG_TERMCAP to the entry you put for your package in packages.lkc. Take a look at some other packages for examples. Regards, Stuart On Fri, 2008-08-15 at 13:34 -0700, James E. Chargin Jr. wrote:Luis, That did the trick, thanks.I'll attempt to solve my next problems (compiler errors) without asking for help for a while, to avoid asking another question with an obvious answer.Thanks again, Jim Luis Felipe Strano Moraes wrote:2008/8/15 James E. Chargin Jr. <address@hidden>:Thanks for the detailed explanation. I have added the md5 as Peter suggested. I have also "activated" the package via LTIB. On exit from LTIB, I get output from rpmbuild. During this, I get the message (which I mentioned previously): 8-- configure: error: termcap could not be found which is required for the --with-readline option (which is enabled by default). Either disable readline support with --without-readline or download and install termcap from: ftp.gnu.org/gnu/termcap Note: if you are using precompiled packages you will also need the development package as well (which may be called termcap-devel or something similar). Note: (n)curses also seems to work as a substitute for termcap. This was not found either - but you could try installing that as well. --8 As I indicated, I need help with this. I would prefer (I think) to build without termcap, rather than include it on my embedded system, but I don't know where I would specify --without-readline. I know this would be a command line parameter for configure, but I don't know where that command line is generated.Inside the .spec file, on the %Build stage. --lfCould someone provide guidance? Thank you very much, Jim Stuart Hughes wrote:On Thu, 2008-08-14 at 15:02 -0400, Peter Barada wrote:On Thu, 2008-08-14 at 09:07 -0700, James E. Chargin Jr. wrote:Processing: parted ==================== Testing network connectivity Testing proxy connection for GPP : FAIL response was: 500 Can't connect to wwwgate0.freescale.net:1080 (Bad hostname 'wwwgate0.freescale.net') Can't get gpp index, proxy forced off FAILED PPP: : 500 Can't connect to auslxsc01.mtwk.freescale.net:80 (Bad hostname 'auslxsc01.mtwk.freescale.net') OK GPP: FAILED GPP: parted-1.8.8.tar.bz2.md5: 404 Not Found WARN: skipping md5sum check for /opt/freescale/pkgs/parted-1.8.8.tar.bz2, md5 file was not foundWhen you add a new package to the system, add a md5sum file to /opt/freescale/pkgs: $ pushd /opt/freescale/pkgs $ md5sum parted-1.8.8.tar.bz2 > parted-1.8.8.tar.bz2.md5The .md5sum file will be created if/when you eventually upload the content to the GPP. However until then this a good thing to do aswell.LTIB looks for the .md5 to be sure that what you have is not corrupt, and if it doesn't find the .md5 in /opt/freescale/pkgs/ it looks int the Global Package Pool and Private Package Pool. The global pool is in www.bitshrine.org/gpp, <http://www.bitshrine.org/gpp,> but hte provate pool is in Freescale (your BSP came from them), which can't be seen by your machine since you're outside Freescale's network. It would be nice if Freescale would disable the Provate Package Pool on .iso BSPs they release to remove this problem.On later BSPs the PPP references are scrubbed. These messages can be ignored, but if they're nuisance, edit .ltibrc and delete the entry for the ppp. Regards, Stuart_______________________________________________ LTIB home page: http://bitshrine.org Ltib mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/ltib_______________________________________________ LTIB home page: http://bitshrine.org Ltib mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/ltib
[Prev in Thread] | Current Thread | [Next in Thread] |