I think, I found a way for configure to find and use right compiler and make commands. Please, try that:
$ export MAKE; MAKE=/usr/sfw/bin/gmake $ export CC; CC=/usr/sfw/bin/gcc $ export LD; LD=`$CC -print-prog-name=ld` $ export AR; AR=`$CC -print-prog-name=ar` $ ./configure $ /usr/sfw/bin/gmake 2010/2/16 Dmitry Frolov <f...@nov.net>: > The first error it due to wrong "make" is used by configure script, > the second is due to wrong linker. Try to specify them explicitly to > configure: > > env CC=/usr/sfw/bin/gcc LD=/usr/sfw/bin/gld MAKE=/usr/sfw/bin/gmake > ./configure > > But be sure to remove old ipmitool sources and start over before that. > > 2010/2/16 <diego_lecca...@dell.com>: >> Hi Dimitry, >> >> When I run gmake I'm getting the error: >> >>>> #/usr/sfw/bin/gmake >>>> make all-recursive >>>> /bin/bash: make: command not found >>>> gmake: *** [all] Error 127 >> >> I just tried again to do: >> >>>> # ln -s /usr/sfw/bin/gmake /usr/sfw/bin/make >>>> # PATH=/usr/sfw/bin:$PATH; export PATH >>>> # /usr/sfw/bin/make >> >> But it's still failing with: >> >>>> make[2]: *** [libipmitool.la] Error 1 >>>> make[2]: Leaving directory `/var/tmp/ipmitool-1.8.11/lib' >>>> make[1]: *** [all-recursive] Error 1 >>>> make[1]: Leaving directory `/var/tmp/ipmitool-1.8.11' >>>> gmake: *** [all] Error 2 >> >> Thanks again >> >> Diego >> >> >> -----Original Message----- >> From: dmitry.fro...@gmail.com [mailto:dmitry.fro...@gmail.com] On Behalf Of >> Dmitry Frolov >> Sent: 16 February 2010 08:40 >> To: Leccardi, Diego >> Cc: ipmitool-devel@lists.sourceforge.net >> Subject: Re: [Ipmitool-devel] IPMItool 1.8.11 - "make" issue in Solaris 10 u7 >> >> Sorry, here it is: >> >> $ rm -rf ipmitool-1.8.11 >> $ gunzip -c ipmitool-1.8.11.tar.gz | tar xvf - >> $ cd ipmitool-1.8.11 >> $ export PATH; PATH="$PATH:/usr/sfw/bin" >> $ ./configure >> $ gmake >> >> 2010/2/16 Dmitry Frolov <f...@nov.net>: >>> Hi, Diego! >>> >>> Here is the sequence, that worked on a Solaris 10 5/08 X86: >>> >>> $ rm -rf ipmitool-1.8.11 >>> $ gunzip -c ipmitool-1.8.11.tar.gz | tar xvf - >>> >>> >>> 2010/2/15 <diego_lecca...@dell.com>: >>>> Hi Dmitry, >>>> >>>>> Try /usr/sfw/bin/gmake instead. >>>> >>>> No luck: >>>> >>>> #/usr/sfw/bin/gmake >>>> make all-recursive >>>> /bin/bash: make: command not found >>>> gmake: *** [all] Error 127 >>>> >>>> Then I found this post: >>>> http://dbaspot.com/forums/solaris/409054-make-command-not-found.html >>>> >>>> I tried >>>> >>>> # ln -s /usr/sfw/bin/gmake /usr/sfw/bin/make >>>> # PATH=/usr/sfw/bin:$PATH; export PATH >>>> # /usr/sfw/bin/make >>>> >>>> make[2]: *** [libipmitool.la] Error 1 >>>> make[2]: Leaving directory `/var/tmp/ipmitool-1.8.11/lib' >>>> make[1]: *** [all-recursive] Error 1 >>>> make[1]: Leaving directory `/var/tmp/ipmitool-1.8.11' >>>> gmake: *** [all] Error 2 >>>> >>>> Diego >>>> >>>> >>>> -----Original Message----- >>>> From: dmitry.fro...@gmail.com [mailto:dmitry.fro...@gmail.com] On Behalf >>>> Of Dmitry Frolov >>>> Sent: 13 February 2010 07:47 >>>> To: Leccardi, Diego >>>> Cc: ipmitool-devel@lists.sourceforge.net >>>> Subject: Re: [Ipmitool-devel] IPMItool 1.8.11 - "make" issue in Solaris >>>> 10 u7 >>>> >>>> Try /usr/sfw/bin/gmake instead. >>>> >>>> 2010/2/12 <diego_lecca...@dell.com>: >>>>> Good Morning all, >>>>> >>>>> I just subscribed to this list to see if anyone can help with the >>>> issue that >>>>> I'm having while compiling IPMItool 1.8.11 on Solaris 10 u7. >>>>> >>>>> File used: >>>>> >>>> http://sourceforge.net/projects/ipmitool/files/ipmitool/1.8.11/ipmitool- >>>> 1.8.11.tar.gz/download >>>>> >>>>> The "./configure" command it's fine, no errors displayed. >>>>> >>>>> "/usr/ccs/bin/make" reports the following error: >>>>> >>>>> make: Fatal error in reader: Makefile, line 697: Extra `:', `::', or >>>> `:=' on >>>>> dependency line >>>> [...] >>>> >>> >> > ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel