| View previous topic :: View next topic |
| Author |
Message |
Klutsh
Joined: 16 Oct 2007 Posts: 2
|
Posted: Tue Oct 16, 2007 5:19 pm Post subject: Fedora 7 & toolchain (newlib) build error [Solved] |
|
|
I'm having serious problems building the toolchain under Fedora Core 7.
I 'think' I have all deps met, and can compile under Ubuntu without error.
I'd just prefer to get this built under Fedora.
For some unknown reason the toolchain always bails when building newlib.
| Code: | WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site. |
Can anyone help with a possible solution?
Last edited by Klutsh on Tue Oct 16, 2007 8:37 pm; edited 1 time in total |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Tue Oct 16, 2007 6:12 pm Post subject: |
|
|
| Quote: | | Code: | WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site. |
|
Install texinfo. |
|
| Back to top |
|
 |
Klutsh
Joined: 16 Oct 2007 Posts: 2
|
Posted: Tue Oct 16, 2007 7:40 pm Post subject: |
|
|
Thats already installed.
| Code: | Package texinfo - 4.11-1.fc7.i386 already installed and latest version
|
However, that's the problem.
Seems that texinfo-4.11-1.fc7.i386 is broken somehow, I removed that and installed texinfo-4.8-15.i386, got right past newlib.
Shame I forgot to install the USB Devel libs, I have to start again now, lol |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Wed Oct 17, 2007 2:48 am Post subject: |
|
|
| That's odd. I'm using textinfo 4.11-1 on Fedora 7 without any trouble at all. Maybe it just needed to be reinstalled because of some kind of corruption. |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Oct 17, 2007 2:48 am Post subject: |
|
|
| You only need usb libs for the last step, building psplinkusb. If you don't need psplinkusb, you can ignore it, and you're done. If you do want it, you can just run the last step manually (execute scripts/009-psplinkusb.sh). |
|
| Back to top |
|
 |
sm0k3ymcl3ud
Joined: 12 Nov 2007 Posts: 4 Location: Indialantic, FL
|
Posted: Mon Nov 12, 2007 3:13 pm Post subject: |
|
|
| speaking of fedora, I am running fedora 8, and i'm getting the same error with "texinfo - 4.11-1.fc8.x86_64" and there is no package with a version number less than that. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Nov 12, 2007 3:49 pm Post subject: |
|
|
I started getting that error in Fedora 7 just last week. I couldn't figure out what the problem was as it never occured before, so I installed Ubuntu 7.10, and the problem doesn't occur. Maybe it's a problem if the textinfo is too new. Ubuntu definitely lags behind Fedora on updating packages to the latest.
The "latest" texinfo in the Ubuntu repo is just 4.8, and as you state, Fedora is currently using 4.11. |
|
| Back to top |
|
 |
sm0k3ymcl3ud
Joined: 12 Nov 2007 Posts: 4 Location: Indialantic, FL
|
Posted: Mon Nov 12, 2007 5:56 pm Post subject: |
|
|
i suppose i could steal another 80 gigs from my windows partition and install ubuntu as well, i really like fedora tho, i wish it was as easy as maybe patching a line of code somewhere. i'm gonna give a buddy of mine a shell and see what he can do, if he can't figure it out, what do i need to do to clean out my half built psptoolchain, just delete /usr/local/pspdev and its contents?
UPDATE: my buddy managed to get it to compile, what you have to do is download and manually compile/install texinfo-4.9 from ftp.gnu.org, after that everything should be golden, and you can revert to 4.11 if you wish. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Tue Nov 13, 2007 5:37 am Post subject: |
|
|
| sm0k3ymcl3ud wrote: |
UPDATE: my buddy managed to get it to compile, what you have to do is download and manually compile/install texinfo-4.9 from ftp.gnu.org, after that everything should be golden, and you can revert to 4.11 if you wish. |
I think it would be better to figure out why newlib doesn't like 4.11 then to require people to downgrade to 4.9. |
|
| Back to top |
|
 |
borix
Joined: 18 Jul 2007 Posts: 5
|
Posted: Mon Nov 19, 2007 11:04 am Post subject: |
|
|
I think it's because new makeinfo use different way for checking if it is installed than older ones.
So it is not recognised by configure script.
I've found out that problem can be solved relatively easily, but you have to run scripts manualy.
Run first 3 scripts, then do the following:
Open terminal, cd to dir where psptoolchain is extracted, then cd to subdir build. Then do what script says(!!not everything, only first 5 steps!!):
wget --continue ftp://sources.redhat.com/pub/newlib/newlib-1.15.0.tar.gz || { exit 1; }
rm -Rf newlib-1.15.0 && tar xfvz newlib-1.15.0.tar.gz
cd newlib-1.15.0 && cat ../../patches/newlib-1.15.0-PSP.patch | patch -p1
mkdir build-psp && cd build-psp
../configure --prefix="$PSPDEV" --target="psp"
Now just edit Makefile, which was created by configure script and change the content of variable MAKEINFO to makeinfo. At me, this variable is at line 263.Then run the last command from script:
make clean && make -j 2 && make install && make clean
Then just run other scripts & enjoy the psp coding :). |
|
| Back to top |
|
 |
davewelsh79
Joined: 18 Feb 2008 Posts: 1 Location: Ottawa, ON, Canada
|
Posted: Mon Feb 18, 2008 1:45 am Post subject: |
|
|
| nt |
|
| Back to top |
|
 |
ldqmoon
Joined: 04 Dec 2007 Posts: 13
|
Posted: Wed Mar 12, 2008 12:21 am Post subject: |
|
|
| jimparis wrote: | | You only need usb libs for the last step, building psplinkusb. If you don't need psplinkusb, you can ignore it, and you're done. If you do want it, you can just run the last step manually (execute scripts/009-psplinkusb.sh). |
I have a problem with psplinkusb.sh it got error message like:
../scripts/009-psplinkusb.sh: Failed.
I can ignore it, but if I really need to use it , how can i do to compile it? |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Wed Mar 12, 2008 3:06 am Post subject: |
|
|
| You need to install libusb from the Fedora repo. Use yumex or smart for all your package handling needs in Fedora. I suggest yumex (YUM EXtender). Yumex is in the Fedora repo... you can use yum to install it. |
|
| Back to top |
|
 |
|