Hi all
Downloaded everything fresh from github.
tried to compile the libdivecomputer today, but could not pass ./configure, see error below.
should I go back to version 0.80 instead of 0.9?
checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for windres... no checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 ./configure: line 14315: syntax error near unexpected token `newline' ./configure: line 14315: ` '''
On 16/04/2025 05:53, ostc wrote:
Downloaded everything fresh from github.
I assume with download you mean you cloned the git repo?
tried to compile the libdivecomputer today, but could not pass ./configure, see error below.
should I go back to version 0.80 instead of 0.9?
That shouldn't make any difference because the build system is still the same.
checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for windres... no checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 ./configure: line 14315: syntax error near unexpected token `newline' ./configure: line 14315: ` '''
Did your run both these commands:
autoreconf --install --force ./configure
Jef
Hi Jef
I assume with download you mean you cloned the git repo?
yes, I issued git clone <github address>
autoreconf --install --force ./configure
that is what I remember doing.
I did again yesterday, the same result, the error occured whendoing "./configure"
Then, I did a new clone from github, this time it worked without a problem.
Very strange, problem with github or my computer? Anyway, problem solved, somehow.
// leif
On 4/16/25 23:53, Jef Driesen wrote:
On 16/04/2025 05:53, ostc wrote:
Downloaded everything fresh from github.
I assume with download you mean you cloned the git repo?
tried to compile the libdivecomputer today, but could not pass ./configure, see error below.
should I go back to version 0.80 instead of 0.9?
That shouldn't make any difference because the build system is still the same.
checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for windres... no checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 ./configure: line 14315: syntax error near unexpected token `newline' ./configure: line 14315: ` '''
Did your run both these commands:
autoreconf --install --force ./configure
Jef