Software Installation Help - Newbie


 
Thread Tools Search this Thread
Operating Systems Solaris Software Installation Help - Newbie
# 1  
Old 02-21-2006
Software Installation Help - Newbie

Let me start off by saying that I am by no means a unix person. I am tasked to install log4cxx on a brand new machine but it looks like we need the apr, apr-utils, libtool, make, autoconf, automake, and gcc packages just to install log4cxx. Our machine came with no c compiler so I couldn't build gcc, so I downloaded the binary from sunfreeware.com. My machine specs are:

uname -a
SunOS texas 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Blade-1500

The binaries that I have been downloading say they are for:
Freeware List for SPARC and Solaris 10

Are these binaries the correct ones?

I have used the pkgadd application to install all of the above applications except log4cxx, which I need to build.

The first step to build is to run ./autogen.sh

When I run this I get:
./autogen.sh: aclocal: not found
./autogen.sh: autoheader: not found
/usr/local/bin/autoconf: /usr/local/bin/autom4te: not found
./autogen.sh: automake: not found

I added /usr/local/bin to my PATH and I've checked to make sure all of these files exist and they do.

Could the binaries be wrong or is there something Im doing wrong?

Thanks for any help in advance.
# 2  
Old 02-21-2006
You should have downloaded from Sparc / Solaris 9 Packages since that is the version you are running.
# 3  
Old 02-21-2006
Thanks for your reply

I pkgrm'ed all the packages that I installed, downloaded the solaris 9 versions, and pkgadd'ed those. And I'm still getting the same message.

./autogen.sh: aclocal: not found
./autogen.sh: autoheader: not found
/usr/local/bin/autoconf: /usr/local/bin/autom4te: not found
./autogen.sh: automake: not found

Any Ideas???
# 4  
Old 02-21-2006
Not sure what you are reading - or maybe you are doing something besides what it seems you state you are attempting:

Quote:
I have used the pkgadd application to install all of the above applications except log4cxx, which I need to build.

The first step to build is to run ./autogen.sh
Steps to build log4c should be (most of the time this is the process to build not just for log4c - of course, if I'm wrong, someone will be sure to say something!):

As of version 0.2.0 log4cpp can be build using autoconf on platforms that support it. Simply do:

./configure
make
make check
make install

This will install log4cpp under /usr/local. To install in another localation specify --prefix=<location> when running configure.
# 5  
Old 02-21-2006
Im actually trying to build log4cxx by apache not the log4cpp on sourceforge. Not sure which is better but i need to get log4cxx built. Smilie

Thanks
# 6  
Old 02-22-2006
I believe that the ./autogen.sh script creates the configure file. In the INSTALL document this is the first step.

Ok I got it to run, looks like it needed more applications installed, perl and a newer version of m4.

Thanks for your help!

Last edited by JohnRodey; 02-22-2006 at 10:16 AM..
# 7  
Old 02-22-2006
Suggest you double check your PATH - try using the which command to see if it finds the correct executable and also change your shell to sh (in case you are using csh)

$ which gcc
Make sure the output is where you expect it to be (/usr/local/bin/gcc or where ever you think it suppose to be - then go to the directory and make sure it's there)

Do that for all the files it states it needs.

Double check your packages - pkginfo -p will show any packages that were only partially installed - make sure all these new packages are okay.

Check that your LD_LIBRARY_PATH has the correct paths also (env|grep LIB)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Manual software installation

Hi everyone, As you probably have guessed from the title, I am totally new to the Linux world. I am trying to get a program called Quantum to run. From what I could gather while reading on-line, programs in Linux usually come in packages. It this case however, I only have the archive with... (10 Replies)
Discussion started by: vy4kov
10 Replies

2. HP-UX

Software installation on HP-UX system

Hello, I work on an oil rig offshore with limited resources at my disposal at the moment. We have been trying to repair one of our IMS stations, but no one out here is familiar with UNIX and our ABB service rep is spotty at best. The machine is an HP 9000 running HP-UX 10.20. We are trying... (2 Replies)
Discussion started by: abollmeyer
2 Replies

3. HP-UX

Newbie: HP-UX installation problem

I recently bought myself a HP Visualize c3750 specifically to try out HP-UX (which I have never really used), I got it with a CD set of HP-UX 11 that I boot the machine from to install. I have no gfx adapter in the machine so I run an IBM InfoWindow II 3153 serial terminal attached to serial 1.... (4 Replies)
Discussion started by: dlundh
4 Replies

4. SCO

newbie - CUPS installation & C compiler

Ok new in here so be gentle: I'm a programmer with the need to also be a sys admin on a box running: Client has purchased a Kyocera KM-4035 do it all machine. However, no driver exists for SCO and when I contacted their Kyocera rep he told me to install CUPS. I downloaded CUPS and ran... (2 Replies)
Discussion started by: bbxguy
2 Replies

5. UNIX for Advanced & Expert Users

Software installation

Hi, Like Windows XP OS, when we will install a software it will go by default to C drive's Program file directory. So similarly if we will install the software in the Linux OS, where it will go by default ? (4 Replies)
Discussion started by: rajesh08
4 Replies

6. Solaris

Software installation help

Hi, I'm new to solaris basically, with a decent background in linux. But everything seems to have jsut enough differances to be problematic. two things i need answered are 1) How do i alter the network settings in Solaris 2.5.1? 2) how do i go about installing netscape (already got... (3 Replies)
Discussion started by: netstat
3 Replies

7. AIX

Software Installation Problem

HI Everybody, I am a newbie of using AIX, would you mind telling me how to setup JOE and OpenSSH in AIX 5L 5.3. Thanks! Hugo (0 Replies)
Discussion started by: tknl
0 Replies

8. UNIX for Dummies Questions & Answers

Newbie's question about COBOL Installation in Unix

I wanna to install a COBOL on the AIX unix server. Would u like to tell me the disk usage of COBOL installation? Thanks in advance. (2 Replies)
Discussion started by: GCTEII
2 Replies

9. Solaris

Software Installation

Hi All, I am new to Solaris Platform . I would like to know whether the machine on which I am working has Oracle9 installed on it or no? How do I proceed? Regards SONAL (3 Replies)
Discussion started by: sonbag_pspl
3 Replies

10. UNIX for Dummies Questions & Answers

Software installation

I'm attempting to download gnu common lisp software on mac os x unix and having trouble with the ./configure command. It gives an error of: Unable to guess machine type use configure --enable-machine=XXX, for XXX such that h/XXX.defs exists, ie in h/386-bsd.defs h/FreeBSD.defs h/NeXT.defs.... ... (1 Reply)
Discussion started by: xaosai
1 Replies
Login or Register to Ask a Question