× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Bug squashing: Day #1
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Wed, 12 Apr 2000 15:49:04 -0500 (CDT)



On Wed, 12 Apr 2000, Mike Madore wrote:

> > When I do a "make" under FreeBSD it fails with this message:
> > 
> >      gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c getopt.c
> >      getopt.c:35: config.h: No such file or directory 
> > 
> > I can fix the problem quite easily by editing "getopt.c" and commenting
> > out the #include <config.h>  line.   But I wonder why this is happening?
> > config.h is too generic of a name to be a standard system include file,
> > so what the heck is it looking for?   On my redhat box, it appears that
> > theres a config.h in the tn5250/src directory... but not on FreeBSD.
> > That seems weird to me... why would that be different?
> 
> Isn't config.h one of those files that is generated by automake and
> friends?  Try running autogen.sh and configure again and see if it shows
> up again.
> 

Interestingly enough, config.h is being generated by the "make" command,
but is being created AFTER make crashes with the error AFTER the error
that I list above.

After commenting out the #include <config.h> line from the source,
and typing "make" again, I see a sequence of lines that looks like this:

creating lp5250d
cat tn5250-config.h |sed -e 's/VERSION/TN5250_LIB_VERSION/g' -e 
'/PACKAGE/d' >config.h

Its a bit late, though..  getopt.c was compiled in the section that said
"creating lib5250.la"

This is from source that I just got from cvs, perhaps 30 mins ago...



+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.