Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile, line 1: Badly formed macro assignment #22

Open
8uachaille opened this issue Jan 15, 2021 · 8 comments
Open

Makefile, line 1: Badly formed macro assignment #22

8uachaille opened this issue Jan 15, 2021 · 8 comments

Comments

@8uachaille
Copy link

8uachaille commented Jan 15, 2021

me@myhost# git clone https://github.com/Rup0rt/pcapfix.git
Cloning into 'pcapfix'...
remote: Enumerating objects: 665, done.
remote: Total 665 (delta 0), reused 0 (delta 0), pack-reused 665
Receiving objects: 100% (665/665), 272.77 KiB | 0 bytes/s, done.
Resolving deltas: 100% (438/438), done.
Checking connectivity... done.

me@myhost# make
make: Fatal error in reader: Makefile, line 1: Badly formed macro assignment

me@myhost:/mydir# uname -a
SunOS fireworks 5.11 11.3 sun4v sparc SUNW,SPARC-Enterprise-T5120

@Rup0rt
Copy link
Owner

Rup0rt commented Jan 20, 2021

I really have no clue how SunOS' make differs. Can you check the devel branch whether this error still exists?

@8uachaille
Copy link
Author

8uachaille commented Jan 21, 2021 via email

@Rup0rt Rup0rt added the bug label Jan 21, 2021
@Rup0rt
Copy link
Owner

Rup0rt commented Jan 21, 2021

Hi,

glad to hear. Nevertheless it's bad that it does not compile on SunOS.

Maybe somebody else using SunOS can check it out?

@mdeweerd
Copy link

I worked a very long time ago in SunOS.
The Makefile in this project is for GNU Make, so one should use GNU make on SunOS as well.

It is possible to call GNU's make "gmake" through a link or possibly at compilation/build time. Then use "gmake".

Or, set the environment variable MAKE to the GNU Make executeable and use an alias or point make to GNU's make.

@Rup0rt
Copy link
Owner

Rup0rt commented Jan 22, 2021

Thank you for this information. So if I understand this right, it is not a bug? Adding a hint in the INSTALL file should be enough thou?

@mdeweerd
Copy link

IMHO it is not a bug - there are different flavors of Makefile's.
You can indicate that GNU Make and GNU-C/C++ is required.
make -v should show something similar to 'GNU Make 4.3' in its output.

@Rup0rt
Copy link
Owner

Rup0rt commented Jan 26, 2021

Great! I am going to add a note to INSTALL file. Thank you, mdeweerd.

@Rup0rt Rup0rt added enhancement and removed bug labels Jan 26, 2021
@8uachaille
Copy link
Author

8uachaille commented Jan 26, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants