forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Klutsh



Joined: 16 Oct 2007
Posts: 2

PostPosted: Tue Oct 16, 2007 5:19 pm    Post subject: Fedora 7 & toolchain (newlib) build error [Solved] Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Oct 16, 2007 6:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Klutsh



Joined: 16 Oct 2007
Posts: 2

PostPosted: Tue Oct 16, 2007 7:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Oct 17, 2007 2:48 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Oct 17, 2007 2:48 am    Post subject: Reply with quote

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
View user's profile Send private message
sm0k3ymcl3ud



Joined: 12 Nov 2007
Posts: 4
Location: Indialantic, FL

PostPosted: Mon Nov 12, 2007 3:13 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Nov 12, 2007 3:49 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
sm0k3ymcl3ud



Joined: 12 Nov 2007
Posts: 4
Location: Indialantic, FL

PostPosted: Mon Nov 12, 2007 5:56 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Tue Nov 13, 2007 5:37 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
borix



Joined: 18 Jul 2007
Posts: 5

PostPosted: Mon Nov 19, 2007 11:04 am    Post subject: Reply with quote

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
View user's profile Send private message
davewelsh79



Joined: 18 Feb 2008
Posts: 1
Location: Ottawa, ON, Canada

PostPosted: Mon Feb 18, 2008 1:45 am    Post subject: Reply with quote

nt
Back to top
View user's profile Send private message MSN Messenger
ldqmoon



Joined: 04 Dec 2007
Posts: 13

PostPosted: Wed Mar 12, 2008 12:21 am    Post subject: Reply with quote

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
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Mar 12, 2008 3:06 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group