wget-dev
[Top][All Lists]
Advanced

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

Re: [Wget-dev] wget2 | configure fails : syntax error near unexpected to


From: Seb M
Subject: Re: [Wget-dev] wget2 | configure fails : syntax error near unexpected token `-fsanitize=undefined' (#419)
Date: Tue, 18 Dec 2018 23:57:32 +0000

@rockdaboot Ok. When I run `./configure` without any argument, it succeeds but 
the make install step fails because of a missing option in the `ld` utility : 
configure: Summary of build options:

```
......
  Version:            1.99.1
  Host OS:            linux-gnu
  Install prefix:     /usr/local
  Compiler:           gcc -std=gnu11
  CFlags:             -I/home/sebastien/.linuxbrew/Cellar/xz/5.2.3/include 
-I/home/sebastien/.linuxbrew/Cellar/zlib/1.2.11/include -DNDEBUG   
  LDFlags:            
  Libs:               -ldl -lpcre -lidn 
-L/home/sebastien/.linuxbrew/Cellar/xz/5.2.3/lib -llzma 
-L/home/sebastien/.linuxbrew/Cellar/zlib/1.2.11/lib -lz -lbz2 -lgnutls 
  Library types:      shared=yes, static=yes
  SSL/TLS support:    yes
  GZIP compression:   yes
  BZIP2 compression:  yes
  LZMA compression:   yes
  Brotli compression: no
  Zstd compression:   no
  IDNA support:       IDNA 2003 (libidn)
  PSL support:        no
  HSTS support:       no
  HTTP/2.0 support:   no
  Documentation:      yes (found: Pandoc)
  PCRE support:       yes, via libpcre
  Tests:              Valgrind testing not enabled
  Assertions:         no
  POSIX xattr:        yes
  Microhttpd support: no (CFLAGS: 
-I/home/sebastien/.linuxbrew/Cellar/xz/5.2.3/include 
-I/home/sebastien/.linuxbrew/Cellar/zlib/1.2.11/include -DNDEBUG . LIBS: -lpcre 
-lidn -L/home/sebastien/.linuxbrew/Cellar/xz/5.2.3/lib -llzma 
-L/home/sebastien/.linuxbrew/Cellar/zlib/1.2.11/lib -lz -lbz2 -lgnutls )
  Fuzzing build:      no, 
  GPGME:              no


real    1m16.447s
user    0m38.420s
sys     0m12.992s
$ echo $?
0
$ time make
real    0m0.005s
user    0m0.000s
sys     0m0.004s
$ sudo make install
....
  CC       libwget_la-error.lo
  GEN      css_tokenizer.c
  CC       libcsstokenizer_la-css_tokenizer.lo
  CCLD     libcsstokenizer.la
  CCLD     libwget.la
/usr/bin/ld: unrecognized option '--push-state'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make[1]: *** [libwget.la] Error 1
make[1]: Leaving directory `/home/sebastien/src/wget2/libwget'
make: *** [install-recursive] Error 1
$ echo $?
2
```
What must I do next ?

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/issues/419#note_126002059
You're receiving this email because of your account on gitlab.com.


reply via email to

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