wtetzner / bitstring

Automatically exported from code.google.com/p/bitstring
GNU General Public License v2.0
0 stars 0 forks source link

Compilation failed on OSX #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 christop...@gmail.com on 20 Mar 2010 at 9:37

GoogleCodeExporter commented 8 years ago
I applied a more drastic path: I simply suppressed $(srcdir)/ from Makefile.in

Original comment by matthieu...@gmail.com on 25 Mar 2010 at 1:55

Attachments:

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

Original comment by amadhava...@googlemail.com on 17 Jun 2011 at 4:45

Attachments:

GoogleCodeExporter commented 8 years ago
Any chance of having this merged into upstream?

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

GoogleCodeExporter commented 8 years ago
+1 -- this currently breaks odb and would be very useful to have fixed

Original comment by richard....@gmail.com on 16 Feb 2012 at 10:24