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

Compilation failed on OSX #6

Open
GoogleCodeExporter opened this issue Jul 31, 2015 · 4 comments
Open

Compilation failed on OSX #6

GoogleCodeExporter opened this issue Jul 31, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Download sources
2. configure
3. make

What is the expected output? What do you see instead?

% make
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
      cat /byteswap.in.h; \
    } > byteswap.h-t
cat: /byteswap.in.h: No such file or directory
make: *** [byteswap.h] Error 1


What version of the product are you using? On what operating system?

ocaml-bitstring-2.0.2 

Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-
1228.15.4~1/RELEASE_I386 i386
(OSX 10.5.8)

Please provide any additional information below.

The srcdir is not set in the makefile, causing such an error. If i add it 
(srcdir=.), everything compile 
correctly

Original issue reported on code.google.com by [email protected] on 20 Mar 2010 at 9:37

@GoogleCodeExporter
Copy link
Author

I applied a more drastic path: I simply suppressed $(srcdir)/ from Makefile.in

Original comment by [email protected] on 25 Mar 2010 at 1:55

Attachments:

@GoogleCodeExporter
Copy link
Author

Just ran into the same problem on MacOS X; just substituting $(srcdir) with 
$(top_srcdir) fixes it.

Original comment by [email protected] on 17 Jun 2011 at 4:45

Attachments:

@GoogleCodeExporter
Copy link
Author

Any chance of having this merged into upstream?

Original comment by superbobry on 1 Feb 2012 at 2:42

@GoogleCodeExporter
Copy link
Author

+1 -- this currently breaks odb and would be very useful to have fixed

Original comment by [email protected] on 16 Feb 2012 at 10:24

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

1 participant