The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compiling IRSSI on Solaris 10 FloridaBSD SUN Solaris 2 09-20-2008 01:41 AM
netSnmp question hemulll IP Networking 0 07-28-2008 08:06 AM
compiling php5 on solaris 9. please help. xnightcrawl UNIX for Advanced & Expert Users 5 10-24-2007 03:15 PM
Compiling in Solaris runnerb High Level Programming 8 03-27-2007 02:51 AM
Error on compiling php for GD on SOLARIS 10 callingrohit SUN Solaris 9 11-15-2006 02:03 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-07-2009
krabu krabu is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 44
compiling netsnmp on solaris 8

Hello all

Currently I am trying to install net-snmp-5.5 on a V480 Solaris 8 machine however things are hardly going smooth. I'm running configure will the following options.

./configure --prefix=/usr/local --with-mib-modules="smux ucd-snmp/diskio ucd-snmp/lmSensors host" --enable-mfd-rewrites --enable-ucd-snmp-
compatibility --with-defaults --with-out-mib-modules=mibII/ipv6 --without-perl-modules

make gives the following error and goes kaput

libtool: link: : .libs/libnetsnmp.a
libtool: link: ( cd ".libs" && rm -f "libnetsnmp.la" && ln -s "../libnetsnmp.la" "libnetsnmp.la" )
: libnetsnmp.la
make[1]: Leaving directory `/net-snmp-5.5/snmplib'
making all in /net-snmp-5.5/agent
make[1]: Entering directory `/net-snmp-5.5/agent'
Makefile:346: *** commands commence before first target. Stop.
make[1]: Leaving directory `/net-snmp-5.5/agent'
make: *** [subdirs] Error 1

I've tried various versions. I've been able to compile net-snmp-5.2.5.1 without the if-mib which we need as it is a basic requirement of ours.
I'm using gcc version 3.4.6 and GNU make 3.81. Any help in this matter will be appreciated.
  #2 (permalink)  
Old 10-08-2009
frank_rizzo frank_rizzo is offline Forum Advisor  
Resident BOFH
  
 

Join Date: Dec 2007
Posts: 427
what is on line 346 of Makefile? Make sure there are no trailing spaces after any slashes "\" at the end of the line.

Please post the output of this command using CODE tags before modifying the file.

Code:
awk 'NR==346' Makefile|od -cx
  #3 (permalink)  
Old 10-08-2009
krabu krabu is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 44
Output of the code is mentioned below

Code:
000000  \t   f   i  \n
            0966    690a
0000004
awk 'NR==346' Makefile show output of code from lines 342 to 346 is

Code:
pythontest:
    @(dir=`pwd`; cd python; $(PYMAKE) test --basedir=$$dir) ; \
        if test $$? != 0 ; then \
    exit 1 ; \
    fi
Thanks for your reply. I will appreciate ver much if help me out
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0