Comments (4)
Hi,
I'm sorry, I don't think I can help you with this.
I just gave up installing Alpine (didn't get DNS resolution to work, at al), and while I realize that virtually everybody uses it in containers (which kind-of implies that it's great) I'm not going to spent more time on this.
I assume that you're seeing a BusyBox issue. As the errors your seeing look shell related you could try "grep shell Makefile.inc" and check whether one of those returns unexpected results. Plus, you could add additional $(warning ...) statements to determine where the error actually occurs.
If there's any trivial step-by-step method to replicate that issue I'm happy to try again.
Thanks,
Marc
from event-driven-servers.
Thanks for the reply, Marc! I'm actually becoming less and less convinced that this is an Alpine-specific issue. I cannot compile on Ubuntu or CentOS, either.
For your reference and simplicity, here's a super quick and easy way to replicate the failure and to test compile as you're programming. If you don't want the container to be deleted upon exit, just remove the --rm flag.
# Launch self-destructing Alpine container with Shell and install packages
docker run --rm -i -t alpine /bin/sh --login
apk update
apk add build-base bzip2 perl perl-digest-md5 perl-ldap perl-io-socket-ssl bash git clang gcc flex bison pcre pcre2 zlib curl make perl-regexp-tr
# Clone Git Repo then attempt to compile
git clone https://github.com/MarcJHuber/event-driven-servers.git
cd event-driven-servers
env SHELL=/bin/bash ./configure tac_plus-ng
env SHELL=/bin/bash make
env SHELL=/bin/bash make install
If you want to recreate the failure of the Makefile on CentOS, here's a the steps to replicate
# Launch self-destructing CentOS container with Bash Shell and install packages
docker run --rm -i -t centos:7 /bin/bash --login
yum update -y
yum install -y gcc make cmake perl llvm git clang cpan
yum install -y perl-Digest-SHA perl-Digest-MD5 perl-Socket perl-IO-Socket-SSL perl-LDAP
# Clone Repo then attempt to compile
git clone https://github.com/MarcJHuber/event-driven-servers.git
cd event-driven-servers/
./configure tac_plus-ng
make
You should see that as of right now, both instances get stuck on Makefile.inc, line 407 due to the following error (the below output is from the CentOS 7 container
[root@70d7e238fc5a event-driven-servers]# make
Makefile.inc:407: *** invalid syntax in conditional. Stop.
[root@70d7e238fc5a event-driven-servers]#
[root@70d7e238fc5a event-driven-servers]#
from event-driven-servers.
One last thing to help, Marc, is that I've confirmed this was broken somewhere between October 31st and now. If we clone https://github.com/dewebdes/event-driven-servers (a fork of your repo from Oct 31st), then the compile works as expected.
To replicate the compile failure:
# Launch self-destructing CentOS container with Bash Shell and install packages
docker run --rm -i -t centos:7 /bin/bash --login
yum update -y
yum install -y gcc make cmake perl llvm git clang cpan
yum install -y perl-Digest-SHA perl-Digest-MD5 perl-Socket perl-IO-Socket-SSL perl-LDAP
# Clone Repo then attempt to compile
git clone https://github.com/MarcJHuber/event-driven-servers.git
cd event-driven-servers/
./configure tac_plus-ng
make
To replicate the successful compile:
# Launch self-destructing CentOS container with Bash Shell and install packages
docker run --rm -i -t centos:7 /bin/bash --login
yum update -y
yum install -y gcc make cmake perl llvm git clang cpan
yum install -y perl-Digest-SHA perl-Digest-MD5 perl-Socket perl-IO-Socket-SSL perl-LDAP
# Clone Repo then attempt to compile
git clone https://github.com/dewebdes/event-driven-servers.git
cd event-driven-servers/
./configure tac_plus-ng
make
make install
Hope this helps!
from event-driven-servers.
Hi,
thanks, a closing right bracket is missing in line 407. I'll push a fix shortly.
Thanks a lot for your support in finding this!
Cheers,
Marc
from event-driven-servers.
Related Issues (20)
- Tacacs-ng FortiGate issue HOT 1
- /bin/sh: -v: command not found during make HOT 2
- configure tac_plus missing HOT 13
- undefined reference to symbol 'crypt@@XCRYPT_2.0' on Rocky Linux v8 HOT 6
- OSLEVEL Detection Issues in Makefile.inc HOT 2
- "prompt" keyword not recognised in tac_plus-ng.cfg HOT 14
- The password changing logic is broken HOT 3
- groups filter stops working after Oct 2 change HOT 2
- groups_getlist() implementation of getgrouplist() doesn't match the libc implementation with sssd enabled HOT 2
- tac_plus to docker logs HOT 1
- Local used variable won't be free until user is free-ed HOT 1
- Unable to compile on Debian HOT 3
- Custom Logging destination in tac_plus HOT 3
- LDAP SSL/TLS version HOT 1
- mavis external python module HOT 10
- Outdated tac_plus-ng documentation HOT 5
- FLAG_USE_MEMBEROF is being ignored HOT 4
- tac_plus-ng: Multiple External Authentication Sources ceased working since commit 193d7513a352ae7c70650fbdcba1002b982f9e2d HOT 1
- tac_plus: Timeout for non-responding ldap-servers HOT 1
- config error HOT 2
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 event-driven-servers.