[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20040331: LDM-McIDAS Decoders - RedHat 9 - configure/load problem (cont.)



>From: John Hobbie <address@hidden>
>Organization: NMSU/NSBF
>Keywords: 200403311654.i2VGslIh011217 ldm-mcidas RedHat 9 Linux src build

Hi John,

>Thanks for the help.  Worked just fine.  I wasn't sure if there were some
>RH 8 vs 9 issues so I had decided to use the source code.

OK, makes sense.

>Don't know what happened to the attachments, but I will attach them to this
>and you can evaluate them to see if a change is necessary ref. the X11
>libraries

Point taken.  On Linux, one typically looks for X libraries under
/usr/X11R6/lib, so LD_X11 should be set to:

LD_X11='-L/usr/X11R6/lib -lX11'

I will work this into the INSTALL file that is included with ldm-mcidas.
A scan of the file shows that it needs updating anyway.

>as well as not picking up some standard c headers.

Hmm... Which C headers?  I didn't see a problem in the log files you
sent that would explain this comment.

>Thanks again,

Thanks for the feedback.

Tom
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publically available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.

>From address@hidden  Wed Mar 31 16:35:25 2004

Tom --

> >as well as not picking up some standard c headers.
> 
> Hmm... Which C headers?  I didn't see a problem in the log files you
> sent that would explain this comment.
> 

I am probably mis-reading the messages in config.log; I am a newbie on gcc 
error messages,  but the headers include not just string.h, but stdio.h, 
stdlib.h, time.h, and others.    An sample of the text goes:


_____________________________________________________
configure:3875: checking for string.h
configure:3902: checking C header file <string.h> for function strncpy()
configure:3913: gcc -c -O -DNDEBUG -Df2cFortran conftest.c 1>&5
configure:3906:60: macro "strncpy" requires 3 arguments, but only 1 given
configure:3906: warning: built-in function `strncpy' declared as non-function
configure: failed program was:
#line 3904 "configure"
#include "confdefs.h"
#include <string.h>
                    extern struct {int a; int b;} *strncpy();
                
int main() {

; return 0; }
configure:3944: checking for string.h
configure:3971: checking C header file <string.h> for function strtok()
configure:3982: gcc -c -O -DNDEBUG -Df2cFortran conftest.c 1>&5
configure:3975: conflicting types for `strtok'
/usr/include/string.h:192: previous declaration of `strtok'
configure: failed program was:
#line 3973 "configure"
#include "confdefs.h"
#include <string.h>
                    extern struct {int a; int b;} *strtok();
                
int main() {

; return 0; }
configure:4014: checking for strstr
configure:4042: gcc -o conftest -O -DNDEBUG -Df2cFortran  conftest.c  1>&5
____________________________________________________________________
                          etc.

I sure appreciate your time and help here,

Hobbie
----A47D5B65188FE00AEF0B83D8C8645AF6--