Martin Rogers wrote: > > Darrick Hartman wrote: >> Martin Rogers wrote: >>> Hi >>> >>> I am attempting to build Astlinux (current trunk) on a CentOS 5.2 machine. >>> >>> >>> the make stops with the following error >>> -------------------------------------------------------------- >>> no c++ in >>> (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/astbuilder/bin) >>> >>> C++ compler installed: FALSE >>> >>> You may have to install 'g++' on your build machine >>> >>> bison installed: Ok >>> flex installed: Ok >>> >>> gettext installed: Ok >>> makeinfo installed: Ok >>> autoconf installed: Ok >>> nams installed: Ok >>> zlib.h installed: FALSE >>> >>> >>> You must install zlib.h on your build machine >>> >>> This can usually be found in the zlib-dev package >>> make: *** [dependencies] Error 1 >>> [astbuil...@localhost astlinux-trunk]$ >>> -------------------------------------------------------------- >>> >>> Note that cpp is installed >>> >>> -------------------------------------------------------------- >>> [astbuil...@localhost astlinux-trunk]$yum install cpp >>> Setting up Install Process >>> Parsing package install argumnts >>> Package cpp - 4.1.2-42.e15.i386 is already installed >>> Nothing to do >>> [astbuil...@localhost astlinux-trunk]$ >>> -------------------------------------------------------------- >>> >>> >>> Any suggestions welcome. >>> Thanks >>> Mart >> c++ is not cpp >> >> [r...@workstation ~]# yum provides gcc >> Loading "fastestmirror" plugin >> Loading mirror speeds from cached hostfile >> * epel: mirror.unl.edu >> * adobe-linux-i386: linuxdownload.adobe.com >> * atrpms: dl.atrpms.net >> * base: centos.mirrors.tds.net >> * updates: mirror.sanctuaryhost.com >> * addons: updates.interworx.info >> * extras: centos.mirror.nac.net >> gcc.i386 : Various compilers (C, C++, Objective-C, Java, ...) >> gcc.i386 : Various compilers (C, C++, Objective-C, Java, ...) >> >> This would indicate that 'yum install gcc' would probably solve your >> problem. >> >> Darrick > > Thanks for the reply. yum install gcc gives exactly the same response > as yum install cpp. I should have mentioned that after installing the > OS, and prior to downloading Astlinux trying to build Astlinux. I > succeeded in running the following : > > yum install subversion > yum install flex > yum install bison > yum install nasm > yum install byacc > yum install texinfo > yum install gcc > yum install autoconf > > so gcc is already installed. > > Note that I have rolled back the installation three time now (to a VM > snapshot) and the same symptoms are reocurring each time. > > Is there a prescriptive process to follow which will just build ?
If you really have gcc installed, you should be able to type: gcc --version And get a reply. Looks like you also need zlib-devel I'm going to be setting up a virtual machine later on during the weekend and will document the steps I take to do so. That will be a CentOS 5.x install. For now, go to the root of your build system and execute the following command: make dependencies I get the following on my system (looks like there is a problem with the 'which' test): [dhart...@workstation trunk]$ make dependencies Checking build system dependencies: Running as regular user: Ok CC clean: Ok CXX clean: Ok CPP clean: Ok CFLAGS clean: Ok INCLUDES clean: Ok CXXFLAGS clean: Ok sed works: Ok which installed: Ok zcat installed: Ok bzcat installed: Ok GNU make version '3.81': Ok C compiler '/usr/bin/gcc' C compiler version '4.1.2': Ok Usage: which [options] [--] programname [...] Options: --version, -[vV] Print version and exit successfully. --help, Print this help and exit successfully. --skip-dot Skip directories in PATH that start with a dot. --skip-tilde Skip directories in PATH that start with a tilde. --show-dot Don't expand a dot to current directory in output. --show-tilde Output a tilde for HOME directory for non-root. --tty-only Stop processing options on the right if not on tty. --all, -a Print all matches in PATH, not just the first --read-alias, -i Read list of aliases from stdin. --skip-alias Ignore option --read-alias; don't read stdin. --read-functions Read shell functions from stdin. --skip-functions Ignore option --read-functions; don't read stdin. C++ compiler '/usr/bin/c++' C++ compiler version '4.1.2': Ok bison installed: Ok flex installed: Ok gettext installed: Ok makeinfo installed: Ok autoconf installed: Ok nasm installed: Ok zlib.h readable: Ok rsync installed: Ok Build system dependencies: Ok Darrick ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.