Comments (9)
Did you compile the latest source from git, or a release? Which versions of the build tools and compiler do you use? Can you compile it manually? @jmwilson As FreeBSD User, do you have an idea?
from stenc.
@eccen did you install pkg-config?
from stenc.
Chiming in to say I have the same error. 13.1 as well.
I have tried compiling from master
branch (commit 0e53223).
automake: 1.16.5
autoconf: 2.71
autoconf-switch: 20220527
m4: 1.4.19,1
@sunwire
Upon you suggestion, I tried that pkg install.
$ pkg install pkg-config
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'pkg-config' have been found in the repositories
Thank you.
from stenc.
Interestingly, a second run of autogen.sh
results in a better output and a 0 exit status:
$ ./autogen.sh
configure.ac:15: warning: The preprocessor macro `STDC_HEADERS' is obsolete.
configure.ac:15: Except in unusual embedded environments, you can safely include all
configure.ac:15: ISO C90 headers unconditionally.
configure.ac:9: installing './compile'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
A subsequent ./configure
results in this:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/types.h... (cached) yes
checking for sys/machine.h... no
checking for g++... no
checking for c++... c++
checking whether the compiler supports GNU C++... yes
checking whether c++ accepts -g... yes
checking for c++ option to enable C++11 features... none needed
checking dependency style of c++... gcc3
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether to output raw SCSI messages... no
checking default encryption algorithm index to use... 0
checking your OS... FreeBSD
checking whether to build with static libgcc... no
checking for pandoc... yes
./configure: 5314: Syntax error: word unexpected (expecting ")")
That block of code for easy reference.
5313 # BASH completion
5314 PKG_CHECK_VAR(BASH_COMPLETION_DIR, bash-completion >= 2.0, completionsdir,
5315
5316 with_bash_completion_dir=yes;
5317 AC_MSG_NOTICE(BASH_COMPLETION_DIR is $BASH_COMPLETION_DIR);
5318 AC_SUBST([BASH_COMPLETION_DIR])
5319 ,
5320 with_bash_completion_dir=no)
5321
I can't see any obvious syntax errors there.
from stenc.
I eventually got it to compile by chasing dependencies. Unfortunately, I was sort of shooting in the dark, but looking at my bash history, it looks like pkg install hs-pandoc
might have been the key.
from stenc.
Thanks @eccen
Yes, I came across that too actually. I forgot to mention in my message that I have installed hs-pandoc
along the way. I think ./configure
pointed that out to me.
My issue is the syntax error in configure
.
The next step after autogen.sh
is ./configure
right?
from stenc.
@sunwire
Upon you suggestion, I tried that pkg install.
My bad package is pkgconf https://www.freshports.org/devel/pkgconf
You also need bash-completion
from stenc.
That worked. Thanks @sunwire
I think autogen.sh
should detect and report these dependencies. Am I right? If so, I can look at updating autogen.sh
and submitting a pull request.
And/or I can workout the exact packages needed and list them for the README. Would that be useful for the project?
from stenc.
I think
autogen.sh
should detect and report these dependencies. Am I right?
Yes you are.
I can look at updating
autogen.sh
and submitting a pull request.
Please, do.
from stenc.
Related Issues (20)
- warning: The preprocessor macro `STDC_HEADERS' is obsolete. HOT 1
- Workflow to run catch offline HOT 4
- Consider breaking changes for v2 HOT 2
- Consider compiling the man page from markdown and friends HOT 2
- man page REPORTING BUGS HOT 2
- Considering C++17 as minimum requirement HOT 5
- Wrong version in the configure.ac
- CI needs pandoc HOT 6
- Drop support for AIX? HOT 2
- New IBM LTO8 drive firmware returns 0x24 error HOT 4
- Header of manpage is missing HOT 1
- stenc should not move the tape
- List new dependencies in changelog
- Blank tape HOT 6
- Compilation error HOT 1
- The manpage is not up to date HOT 3
- Compilation error after merge PR91 HOT 3
- License information in SPDX standard HOT 1
- need script to set version numbers properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stenc.