Bug 1637 - ./configure[22652]: A: not found
Summary: ./configure[22652]: A: not found
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.6
Hardware: SGI IRIX
: P3 minor
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-20 08:55 UTC by Jason Mader (mail bounces back)
Modified: 2005-08-24 10:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader (mail bounces back) 2004-08-20 08:55:21 UTC
The follow error appeared during configure of 3.0.6:

checking for broken nisplus include files... no
checking if the realpath function allows a NULL argument... no
./configure[22652]: A:  not found
checking whether to use smbwrapper... no
checking whether to use AFS clear-text auth... no

On Irix 6.5.23f using MIPSpro 7.4.2m compilers,
    env CC=cc CFLAGS="-O" ./configure --with-quotas --with-acl-support
Comment 1 Jason Mader (mail bounces back) 2004-08-20 08:56:54 UTC
configure:22599: checking if the realpath function allows a NULL argument
configure:22621: cc -o conftest -O  -I/opt/include  -L/opt/lib32 conftest.c -lgen -lexc  -liconv >&5
cc-1140 cc: ERROR File = configure, Line = 22613
  A value of type "int" cannot be used to initialize an entity of type "char *".

        char *newpath = realpath("/tmp", NULL);
                        ^

1 error detected in the compilation of "conftest.c".
configure:22624: $? = 2
configure: program exited with status 2
configure: failed program was:
#line 22608 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <limits.h>
main() {
        char *newpath = realpath("/tmp", NULL);
        exit ((newpath != NULL) ? 0 : 1);
}

configure:22642: result: no
configure:22655: checking whether to use smbwrapper
configure:22694: result: no
Comment 2 Jason Mader (mail bounces back) 2004-08-20 09:02:37 UTC
There is an "A" on line 22652

  22650 fi
  22651 
  22652 A
  22653 #################################################
  22654 # check for smbwrapper support
Comment 3 Jeremy Allison 2004-08-20 14:15:23 UTC
Easily fixed ! Thanks.

Jeremy.
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:24:32 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.