[Barrelfish-users] Are there any pointers to compiling Barrelfish on OS X via macports?
Raphael Fuchs
raphaelfuchs at student.ethz.ch
Wed Apr 16 17:59:30 CEST 2014
Hi Mark,
I'm not aware of anyone compiling Barrelfish on OS X via macports, so this
combination is most likely untested. It might be easier to spin up a
virtual machine with some Linux distribution and compile Barrelfish in
there.
As to your specific problem, sshpty.c includes the header
"AvailablityMacros.h" in case the macro __APPLE__ is defined. You can try
one of the following.
1) Since you don't need sshd to get Barrelfish up and running you can
remove 'sbin/sshd' from <your_build_directory>/symbolic_targets.mk.
Subsequently, sshd won't be build.
2) The macro __APPLE__ should not be defined when compiling sshd for
Barrelfish. Apply the patch in the attachment and after a 'make rehake' try
compiling again.
Hope this helps.
Best,
Raphael
On 16 April 2014 16:30, Mark Zbikowski <mzbik at cs.uw.edu> wrote:
> I’ve got the correct toolset (I believe) but I’m encountering stuff like:
>
> ../usr/openssh/src/sshpty.c:50:33: fatal error: AvailabilityMacros.h: No
> such file or directory
>
> which leads me to believe that things like ssh are being compiled with the
> wrong target OS…
>
> Any pointers/ideas are appreciated...
>
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20140416/540afc77/attachment.html
-------------- next part --------------
diff -r 0235ffa37bc5 hake/ArchDefaults.hs
--- a/hake/ArchDefaults.hs Tue Mar 25 16:37:45 2014 +0100
+++ b/hake/ArchDefaults.hs Wed Apr 16 17:54:55 2014 +0200
@@ -21,6 +21,7 @@
"-nostdinc",
"-U__linux__",
"-Ulinux",
+ "-U__APPLE__",
"-Wall",
"-Wshadow",
"-Wmissing-declarations",
More information about the Barrelfish-users
mailing list