CMUAbstract / maker

A build framework and package manager for C code based on GNU Make
2 stars 3 forks source link

Unable to build on Mac OSX #5

Open manuja21 opened 5 years ago

manuja21 commented 5 years ago

Issue using the make bash commands on Mac. Obtained following error on running dep and depclean:

Issue with dep Issue with depclean
blucia0a commented 5 years ago

Only a guess, but you might want to try setting SHELL=/bin/bash in your environment and running that command again. It looks like /bin/sh is getting invoked, but I think the original dev environment was zsh or bash.

alexeicolin commented 5 years ago

I can only add that Linux (mostly Arch Linux and Debian, but distro shouldn't matter too much) was the only system this was tested on, so there might be other issues on OS X, even after solving this one.

PS. For search engines that can't parse images: error in this issue is: /bin/sh: --: invalid option

manuja21 commented 5 years ago

I am unable to compile libmspbuiltins. I get the error message: No rule to make target libmspbuiltins.a', needed bybin'. Any possible suggestion? I have mspgcc installed in the system. What is this library used for?

On Fri, Jul 5, 2019 at 6:17 PM alexeicolin notifications@github.com wrote:

I can only add that Linux (mostly Arch Linux and Debian, but distro shouldn't matter too much) was the only system this was tested on, so there might be other issues on OS X, even after solving this one.

PS. For search engines that can't parse images: error in this issue is: /bin/sh: --: invalid option

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CMUAbstract/maker/issues/5?email_source=notifications&email_token=AD3FKLF576FHBRUQRK6PHBTP556XPA5CNFSM4H6MXILKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZJ7QNI#issuecomment-508819509, or mute the thread https://github.com/notifications/unsubscribe-auth/AD3FKLC37QUDG2UMZQSGVLLP556XPANCNFSM4H6MXILA .

-- Manuja Sharma

manuja21 commented 5 years ago

All the above issue is resolved by changing makefile of libmspbuiltins The empty Object variable creates issue in OS X and can be averted by using OBJECTS=\ It then compiles on OS X.

blucia0a commented 5 years ago

Do you have a patch / diff that makes everything work on OSX? We can file a feature request to add those changes in a future version.

manuja21 commented 5 years ago

Yes, I do. I will send pull request. Thanks!

On Mon, Jul 8, 2019 at 3:27 PM Brandon Lucia notifications@github.com wrote:

Do you have a patch / diff that makes everything work on OSX? We can file a feature request to add those changes in a future version.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CMUAbstract/maker/issues/5?email_source=notifications&email_token=AD3FKLDOW3MM2D5EWVODBPDP6NFBHA5CNFSM4H6MXILKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZNIB5Q#issuecomment-509247734, or mute the thread https://github.com/notifications/unsubscribe-auth/AD3FKLGRNJ42BGQ2GO5FTLDP6NFBHANCNFSM4H6MXILA .

-- Manuja Sharma