The above video goes away if you are a member and logged in, so log in now!

 Would you like to get all the newest Gaming News fromQJ.NET in your email each day? Want to learn more about the team who brings you the QJ news?

## Problem setting-up PSPDEV!!!

This is a discussion on Problem setting-up PSPDEV!!! within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I have been following a tut to set up the PSP development environment and I'm having a few problems. Once ...

 Tweet
1. ## Problem setting-up PSPDEV!!!

I have been following a tut to set up the PSP development environment and I'm having a few problems.

Once I run the toolchain.sh I wait for a few hours and it gives me this error:

Code:
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
Copies of there libraries' source code can be found at their respective
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
If you obtained GMP and/or MPGR from a vendor distribution package, make
sure that you have installed both the libraries and the header files.
They may be located in separate packages.
../scripts/002-gcc-4.3.2-stage1.sh: Failed
Any help here?

P.S. I am using CYGWIN sorry. Can you please explain in more detail. I'm sorry I'm such a noob.

2. Originally Posted by Infining
I wait for a few hours and it gives me this error:
Code:
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
Copies of there libraries' source code can be found at their respective
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
If you obtained GMP and/or MPGR from a vendor distribution package, make
sure that you have installed both the libraries and the header files.
They may be located in separate packages.
../scripts/002-gcc-4.3.2-stage1.sh: Failed
From the above statement I think your using cygwin, so install libmpfr-devel.

If your not using cygwin (windows) install the needed mpfr package that gives you:

/usr/include/mpfr*.h
/usr/lib/mpfr*.a

For the most common Linux distro (ubuntu) that package would be libmpfr-dev.

If you have the files listed above, open your mpfr.h and check that the:

Code:
#define MPFR_VERSION_STRING
line is MPFR 2.3.0+. If not update it.

3. tinmanx I have found mpfr.h 2.3.0+ and checked that it was the right version, but I can seem to find the mpfr.a file.

4. You need to have mpfr and mpfr-devel installed I believe; are you doing this with cygwin or linux? If on linux you can get and install them from the repositories; if using cygwin I don't really know how to go about that.
Oh, since it apparently has already gone through /scripts/001-binutils-2.16.1.sh successfully... you can move the '001-binutils-2.16.1.sh' file out of the 'scripts' directory if you don't want it to run through that again. Then when you run ./toolchain.sh it will start with /scripts/002-gcc-4.3.2-stage1.sh and so on (saving some time).

5. NVM I fixed the problem.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•

All times are GMT -8. The time now is 12:49 AM.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY