Skip to content

Compile syslog-ng from source on Mac M1 fails with unexpected token newline #4342

Answered by czanik
Genfood asked this question in Q&A
Discussion options

You must be logged in to vote

I do not have an ARM64 mac, just an old Intel MacBook Pro. I followed the instructions from https://www.syslog-ng.com/community/b/blog/posts/syslog-ng-on-macos-ventura and was able to build both syslog-ng 4.0.1 and the latest git snapshot.

For 4.0.1 I started out from the release tgz: wget https://github.com/syslog-ng/syslog-ng/releases/download/syslog-ng-4.0.1/syslog-ng-4.0.1.tar.gz

For the git snapshot is used syslog-ng dbld to build a release tgz on Linux and then copied the tgz to my aging Mac. From the configure output I guess you did the same (it mentions 4.0.1.222.dirty as version, which is a release name dbld gives to locally modified git snapshots).

On the Mac I started bash (yes…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Genfood
Comment options

You must be logged in to vote
2 replies
@MrAnno
Comment options

@Genfood
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants