Git Product home page Git Product logo

Comments (4)

MarcJHuber avatar MarcJHuber commented on July 30, 2024

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.

strikerx22 avatar strikerx22 commented on July 30, 2024

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.

strikerx22 avatar strikerx22 commented on July 30, 2024

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.

MarcJHuber avatar MarcJHuber commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.