lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev Newbie Installation problem (2.8.3)


From: Lawrence Kwan
Subject: lynx-dev Newbie Installation problem (2.8.3)
Date: Wed, 4 Oct 2000 02:11:50 -0400 (EDT)

I am learning how to do a local install of 2.8.3 in my ISP's shell account
(under my home directory ~/lynx; the shell server runs NetBSD).  But I am
running into problems early on with configure exiting on errors.  I am
hoping someone can point out the mistakes I am making.

I have followed the "INSTALLATION" advice and tried this:

./configure --prefix=~/lynx --exec-prefix=~/lynx

Here's the screen output:
creating cache ./config.cache
checking host system type... i386-unknown-netbsd1.5.
Configuring for netbsd1.5.
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
..........................
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for stpcpy... no
checking for LC_MESSAGES... yes
checking whether NLS is requested... no
configure: error: expected a pathname


I later tried the other suggestions in INSTALLATION:
./configure --prefix=~/lynx \
--bindir=~/lynx --mandir=~/lynx/man \
--libdir=~/lynx/lib --disable-nls

same results.  I am including the config.log below; config.cache is an
empty file, and config.status has not been created.  I have set the
LYNX_CFG environment variable as well.
I notice some "failed program" in the log, will they cause problems?

Thanks in advance.

=config.log==================================
configure:640: checking host system type
configure:695: checking for gcc
configure:808: checking whether the C compiler (gcc  ) works
configure:824: gcc -o conftest    conftest.c  1>&5
configure:850: checking whether the C compiler (gcc  ) is a cross-compiler
configure:855: checking whether we are using GNU C
configure:864: gcc -E conftest.c
configure:883: checking whether gcc accepts -g
configure:915: checking how to run the C preprocessor
configure:936: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:995: checking whether ln -s works
configure:1018: checking for ranlib
configure:1046: checking whether make sets ${MAKE}
configure:1084: checking for a BSD compatible install
configure:1141: checking for lint
configure:1172: checking for AIX
configure:1196: checking for POSIXized ISC
configure:1222: checking if you want to see long compiling messages
configure:1270: checking if you want to check memory-leaks
configure:1294: checking if you want to enable debug-code
configure:1336: checking if you want to enable lynx trace code 
*recommended*
configure:1362: checking if you want to turn on gcc warnings
configure:1499: checking for ANSI C header files
configure:1512: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1579: gcc -o conftest -O2   conftest.c  1>&5
configure:1603: checking for working const
configure:1657: gcc -c -O2  conftest.c 1>&5
configure:1678: checking for inline
configure:1692: gcc -c -O2  conftest.c 1>&5
configure:1718: checking for off_t
configure:1751: checking for size_t
configure:1786: checking for working alloca.h
configure:1798: gcc -o conftest -O2   conftest.c  1>&5
configure:1792: alloca.h: No such file or directory
configure: failed program was:
#line 1791 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
configure:1819: checking for alloca
configure:1852: gcc -o conftest -O2   conftest.c  1>&5
configure:2021: checking for unistd.h
configure:2031: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2060: checking for getpagesize
configure:2088: gcc -o conftest -O2   conftest.c  1>&5
configure:2113: checking for working mmap
configure:2261: gcc -o conftest -O2   conftest.c  1>&5
configure:2289: checking for argz.h
configure:2299: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2295: argz.h: No such file or directory
configure: failed program was:
#line 2294 "configure"
#include "confdefs.h"
#include <argz.h>
configure:2289: checking for limits.h
configure:2299: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2289: checking for locale.h
configure:2299: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2289: checking for nl_types.h
configure:2299: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2289: checking for malloc.h
configure:2299: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2289: checking for string.h
configure:2299: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2289: checking for unistd.h
configure:2289: checking for sys/param.h
configure:2299: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2329: checking for getcwd
configure:2357: gcc -o conftest -O2   conftest.c  1>&5
configure:2329: checking for munmap
configure:2357: gcc -o conftest -O2   conftest.c  1>&5
configure:2329: checking for putenv
configure:2357: gcc -o conftest -O2   conftest.c  1>&5
configure:2329: checking for setenv
configure:2357: gcc -o conftest -O2   conftest.c  1>&5
configure:2329: checking for setlocale
configure:2357: gcc -o conftest -O2   conftest.c  1>&5
/tmp/cc7QFWBF.o: In function `main':
/tmp/cc7QFWBF.o(.text+0x4): warning: reference to compatibility
setlocale(); inc
lude <locale.h> for correct reference
configure:2329: checking for strchr
configure:2357: gcc -o conftest -O2   conftest.c  1>&5
configure:2329: checking for strcasecmp
configure:2357: gcc -o conftest -O2   conftest.c  1>&5
configure:2329: checking for strdup
configure:2357: gcc -o conftest -O2   conftest.c  1>&5
configure:2329: checking for __argz_count
configure:2357: gcc -o conftest -O2   conftest.c  1>&5
/tmp/ccLv2NhH.o: In function `main':
/tmp/ccLv2NhH.o(.text+0x4): undefined reference to `__argz_count'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2334 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_count(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_count();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_count) || defined (__stub_____argz_count)
choke me
#else
__argz_count();
#endif

; return 0; }
configure:2329: checking for __argz_stringify
configure:2357: gcc -o conftest -O2   conftest.c  1>&5
/tmp/ccfDeqct.o: In function `main':
/tmp/ccfDeqct.o(.text+0x4): undefined reference to `__argz_stringify'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2334 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_stringify(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_stringify();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_stringify) || defined
(__stub_____argz_stringify)
choke me
#else
__argz_stringify();
#endif

; return 0; }
configure:2329: checking for __argz_next
configure:2357: gcc -o conftest -O2   conftest.c  1>&5
/tmp/ccdtR3sT.o: In function `main':
/tmp/ccdtR3sT.o(.text+0x4): undefined reference to `__argz_next'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2334 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_next(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_next();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_next) || defined (__stub_____argz_next)
choke me
#else
__argz_next();
#endif

; return 0; }
configure:2386: checking for stpcpy
configure:2414: gcc -o conftest -O2   conftest.c  1>&5
/tmp/cc9A8yDD.o: In function `main':
/tmp/cc9A8yDD.o(.text+0x4): undefined reference to `stpcpy'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2391 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char stpcpy(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char stpcpy();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_stpcpy) || defined (__stub___stpcpy)
choke me
#else
stpcpy();
#endif

; return 0; }
configure:2448: checking for LC_MESSAGES
configure:2460: gcc -o conftest -O2   conftest.c  1>&5
configure:2481: checking whether NLS is requested
=======================================================

To avoid excessive long emails to the list, I posted my userdefs.h here:
http://www.vex.net/~lawrence/lynx.html



--Lawrence Kwan --- SMS Info Service for FidoPro --- PGP: finger/www--
address@hidden http://www.vex.net/~lawrence/ -Key ID:0x6D23F3C4--


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]