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 

Problem: installing Toolchain under Linux

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



Joined: 01 Oct 2005
Posts: 4
Location: Chemnitz, Germany

PostPosted: Fri Oct 07, 2005 5:22 am    Post subject: Problem: installing Toolchain under Linux Reply with quote

Hello Homebrewers!

I've tried to install the toolchain under my Ubuntu Linux System.
After a while there occurs an error, but i don't know what to do now. Maybe one of you could help me to figure it out!?

Here's the part with the error:

Code:

aclocal: configure.ac: 19: macro `AM_PROG_AS' not found in library
configure.ac: 7: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
automake: configure.ac: installing `./install-sh'
automake: configure.ac: installing `./mkinstalldirs'
automake: configure.ac: installing `./missing'
Makefile.am:35: DX_COND_doc does not appear in AM_CONDITIONAL
Makefile.am:41: DX_COND_html does not appear in AM_CONDITIONAL
Makefile.am:51: DX_COND_chm does not appear in AM_CONDITIONAL
Makefile.am:55: DX_COND_chi does not appear in AM_CONDITIONAL
Makefile.am:67: DX_COND_man does not appear in AM_CONDITIONAL
Makefile.am:77: DX_COND_rtf does not appear in AM_CONDITIONAL
Makefile.am:87: DX_COND_xml does not appear in AM_CONDITIONAL
Makefile.am:97: DX_COND_ps does not appear in AM_CONDITIONAL
Makefile.am:126: DX_COND_pdf does not appear in AM_CONDITIONAL
Makefile.am:155: DX_COND_latex does not appear in AM_CONDITIONAL
automake: Makefile.am: unterminated conditionals: @DX_COND_doc_TRUE@ @DX_COND_html_TRUE@ @DX_COND_chm_TRUE@ @DX_COND_chi_TRUE@ @DX_COND_ man_TRUE@ @DX_COND_rtf_TRUE@ @DX_COND_xml_TRUE@ @DX_COND_ps_TRUE@ @DX_COND_pdf_TRUE@ @DX_COND_latex_TRUE@
automake: Makefile.am: unterminated conditionals: @DX_COND_doc_TRUE@ @DX_COND_html_TRUE@ @DX_COND_chm_TRUE@ @DX_COND_chi_TRUE@ @DX_COND_ man_TRUE@ @DX_COND_rtf_TRUE@ @DX_COND_xml_TRUE@ @DX_COND_ps_TRUE@ @DX_COND_pdf_TRUE@ @DX_COND_latex_TRUE@
configure.ac: 7: required file `./[config.h].in' not found
automake: Makefile.am: warning: automake does not support EXTRA_DIST being defined conditionally
Makefile.am:10: variable `DX_CONFIG' not defined
configure.ac:8: error: possibly undefined macro: AC_PSPSDK_VERSION
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:9: error: possibly undefined macro: AC_PSPDEV_PATH
configure.ac:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:14: error: possibly undefined macro: AC_PSPDEV_TOOLCHAIN
configure.ac:19: error: possibly undefined macro: AM_PROG_AS
./configure: line 1312: AC_1.0+beta: command not found
./configure: line 1313: AC_PSPDEV_PATH: command not found
./configure: line 1315: syntax error near unexpected token `pspsdk,'
./configure: line 1315: `AM_INIT_AUTOMAKE(pspsdk, 1.0+beta)'
ERROR RUNNING PSPSDK CONFIGURE
root@tuxwhore:/tmp/psptoolchain #

_________________
Live free, use LINUX!
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri Oct 07, 2005 6:33 am    Post subject: Reply with quote

Make sure you're using a recent autoconf and automake. For Debian, something like
Code:
apt-get install automake1.9
update-alternatives --set automake /usr/bin/automake-1.9

Probably similar for Ubuntu.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Fri Oct 07, 2005 8:02 am    Post subject: Reply with quote

Ubuntu likes to install an older version of automake by default if you just use 'automake' as a keyword. Use synaptic to remove the old version and install the latest.

You'll also have to restart the toolchain script from the beginning.
Back to top
View user's profile Send private message Visit poster's website
hacku



Joined: 01 Oct 2005
Posts: 4
Location: Chemnitz, Germany

PostPosted: Fri Oct 07, 2005 8:10 am    Post subject: Reply with quote

Thank you a lot! i installed a new automake but didn't know that i have to update the "symlink" to automake by myself...
I started the toolchain.sh again and later the script it wants to configure gdb, there comes a new error:

Code:

checking for windres... windres
checking for mig... mig
checking for main in -lm... yes
checking for wctype... yes
checking for library containing gethostbyname... none required
checking for library containing socketpair... none required
checking for library containing waddstr... no
checking for library containing tgetent... no
configure: error: no termcap library found
make: *** [configure-gdb] Fehler 1
ERROR BUILDING GDB


Maybe you could help me again?? I have gdb 6.3 installed. Is this important?
_________________
Live free, use LINUX!
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Fri Oct 07, 2005 9:11 am    Post subject: Reply with quote

To save you some time, here's everything that I had to install on a fresh copy of ubuntu breezy (5.10) the other day:

build-essential
subversion
automake1.9
autoconf
libncurses5-dev
flex

You should be able to install the last two packages and just do:

./toolchain.sh -e -p

Enjoy!

(edit: changed to libncurses5-dev)


Last edited by ooPo on Wed Nov 02, 2005 1:33 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
hacku



Joined: 01 Oct 2005
Posts: 4
Location: Chemnitz, Germany

PostPosted: Mon Oct 10, 2005 4:42 am    Post subject: Reply with quote

yeah, now it works!!!

Thank you all for your support!!!!
_________________
Live free, use LINUX!
Back to top
View user's profile Send private message
JesusXP



Joined: 17 Jan 2006
Posts: 80
Location: Ontario, Canada

PostPosted: Wed Mar 29, 2006 4:22 pm    Post subject: Reply with quote

fixed
Back to top
View user's profile Send private message MSN Messenger
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