Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: sed question
- To: tlug@example.com
- Subject: Re: sed question
- From: Antony Stace <antony@example.com>
- Date: Tue, 12 Jun 2001 15:24:15 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- References: <20010612052150.23887.qmail@example.com>
- Reply-To: antony@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <uBoM3.A._-E.vWbJ7@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: antony@example.com
> Sounds like you are trying to hack an autoconf generated file. > I think you can specify extra libs to use on the command line when > running "configure". Maybe something like > LIBS=-lnetinet ./configure > Thats exactly right, it is the configure script for ddd-3.3.1 . I did this(LIBS=-lnetinet) via setting the CXXFLAGS environment variable before running the configure script. Doing this included the netinet lib in the g++ linking stage when I ran the configure script, it was always placed near the start of the libs to include. I have seen sometimes that the order of the libs make a difference, so I placed the -lnetinet at the end of the libs to include(with a bit of help from tlug). After placing it at the end of the libs to include, the error was not there, yeah! but another has subsequently sprung up :( So I am now trying to get past this new hurdle. > And from the "friends don't let friends drive sed" camp: > perl -wp -e 's/^LIBS="\$ac_save_LIBS"/LIBS="\$ac_save_LIBS > -lnetinet"/g' < infile > outtfile > As for perl, on this box I am not privileged to have this tool at my disposal. I guess I could have copied it to my local machine and done it, but its probably a good thing to know how to do in sed. Cheers Tony
- References:
- Re: sed question
- From: Jake Morrison <jake_morrison@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: sed question
- Next by Date: Apache "permission denied"
- Prev by thread: Re: sed question
- Next by thread: RE: sed question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links