Fedora 7 & toolchain (newlib) build error [Solved]

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Klutsh
Posts: 2
Joined: Tue Oct 16, 2007 5:07 pm

Fedora 7 & toolchain (newlib) build error [Solved]

Post by Klutsh »

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: Select all

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.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Code: Select all

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.
Klutsh
Posts: 2
Joined: Tue Oct 16, 2007 5:07 pm

Post by Klutsh »

Thats already installed.

Code: Select all

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
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

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.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

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).
sm0k3ymcl3ud
Posts: 4
Joined: Mon Nov 12, 2007 3:20 am
Location: Indialantic, FL
Contact:

Post by sm0k3ymcl3ud »

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.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

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.
sm0k3ymcl3ud
Posts: 4
Joined: Mon Nov 12, 2007 3:20 am
Location: Indialantic, FL
Contact:

Post by sm0k3ymcl3ud »

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.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

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.
borix
Posts: 5
Joined: Wed Jul 18, 2007 6:25 pm

Post by borix »

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/new ... 5.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 :).
davewelsh79
Posts: 1
Joined: Mon Feb 18, 2008 1:41 am
Location: Ottawa, ON, Canada

Post by davewelsh79 »

nt
ldqmoon
Posts: 13
Joined: Tue Dec 04, 2007 1:17 am

Post by ldqmoon »

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?
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

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.
Post Reply