by mrc668 on Fri Mar 07, 2008 3:26 pm
Redhat likes to put stuff in it's own section.
It's a lot easier to have a directory containing config files than 1 large config
file that you have to edit when a package is removed.
I guess they are starting to apply it to the libraries.
What difference does it make, either LDFLAGS is used or not.
Either ld.so is used, or it's not.
What am I looking for in config.log?
I found several lines like:
configure:23458: gcc -o conftest -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -L/usr/lib/mysql -L/usr/lib64/mysql conftest.c >&5
Which tells me that my LDFLAGS are being used.
I should try again without the LDFLAGS.
The end of the file is:
#define STDC_HEADERS 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LOCALE_H 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_PATHS_H 1
#define HAVE_STDDEF_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UTMP_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_UNISTD_H 1
#define HAVE_CHOWN 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_STDLIB_H 1
#define HAVE_MALLOC 1
#define HAVE_STDLIB_H 1
#define HAVE_REALLOC 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define SELECT_TYPE_ARG1 int
#define SELECT_TYPE_ARG234 (fd_set *)
#define SELECT_TYPE_ARG5 (struct timeval *)
#define RETSIGTYPE void
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define STRERROR_R_CHAR_P 1
#define HAVE_VPRINTF 1
#define HAVE_WAIT3 1
#define HAVE_ALARM 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_LOCALTIME_R 1
#define HAVE_MEMSET 1
#define HAVE_MKDIR 1
#define HAVE_REGCOMP 1
#define HAVE_SELECT 1
#define HAVE_SOCKET 1
#define HAVE_STRCASECMP 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRNDUP 1
#define HAVE_STRNLEN 1
#define HAVE_STRRCHR 1
#define HAVE_STRSTR 1
#define HAVE_STRTOL 1
#define HAVE_STRTOUL 1
#define HAVE_UNAME 1
#define HAVE_TTYNAME_R 1
#define FEATURE_REGEXP 1
#define HAVE_PTHREAD_H 1
#define USE_PTHREADS 1
#define FEATURE_KLOGD 1
#define SYSLOG_UNIXAF 1
#define SYSLOG_INET 1
#define FSSTND 1
#define NDEBUG 1
#define HAVE_MYSQL_MYSQL_H 1
configure: exit 1
And other than configure failed, it doesn't tell me much.