Skip to content
This repository has been archived by the owner on Nov 27, 2017. It is now read-only.

Compile error: freeimage #97

Closed
ghost opened this issue Jul 3, 2014 · 12 comments
Closed

Compile error: freeimage #97

ghost opened this issue Jul 3, 2014 · 12 comments

Comments

@ghost
Copy link

ghost commented Jul 3, 2014

==> Downloading https://downloads.sourceforge.net/project/freeimage/Source%20Dis
######################################################################## 100.0%
==> Patching
patching file Makefile.fip
patching file Makefile.gnu
Hunk #4 succeeded at 59 with fuzz 2.
patching file Source/OpenEXR/IlmImf/ImfAutoArray.h
==> make -f Makefile.gnu
g++: error: unrecognized command line option ‘-install_name’
g++: error: unrecognized command line option ‘-current_version’
g++: error: unrecognized command line option ‘-compatibility_version’
make: *** [libfreeimage-3.15.4.dylib] Error 1
make: *** Waiting for unfinished jobs....

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

@ghost ghost changed the title Compile error: freeimage Compile error: poco, freeimage Jul 3, 2014
@sjackman
Copy link
Member

sjackman commented Jul 3, 2014

Try brew edit freeimage and change patch :DATA to patch :DATA if OS.mac?
If that works, please submit a pull request.

@sjackman
Copy link
Member

sjackman commented Jul 3, 2014

Please open a new issue for poco.

@ghost ghost changed the title Compile error: poco, freeimage Compile error: freeimage Jul 3, 2014
@ghost
Copy link
Author

ghost commented Jul 3, 2014

@sjackman

constantine@eudaimonia:~/.linuxbrew/bin$ ./brew edit freeimage
Error: no "edit" mailcap rules found for type "application/x-ruby"

@sjackman
Copy link
Member

sjackman commented Jul 3, 2014

Open and edit ~/.linuxbrew/Library/Formula/freeimage.rb

@ghost
Copy link
Author

ghost commented Jul 3, 2014

@sjackman ok, I edited as you said, here's what happened:

constantine@eudaimonia:~/.linuxbrew/bin$ ./brew install freeimage
==> Downloading https://downloads.sourceforge.net/project/freeimage/Source%20Dis
Already downloaded: /home/constantine/.cache/Homebrew/freeimage-3.15.4.zip
==> make -f Makefile.gnu
/usr/include/x86_64-linux-gnu/bits/string3.h:76:1: note: ‘void* memset(void*, int, size_t)’ declared here, later in the translation unit
 __NTH (memset (void *__dest, int __ch, size_t __len))
 ^
make: *** [Source/OpenEXR/./IlmImf/ImfHuf.o] Error 1
make: *** Waiting for unfinished jobs....

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

@sjackman
Copy link
Member

sjackman commented Jul 3, 2014

I'm afraid I don't have the time to look into this. I leave the issue open. If you're able to solve it, please post the solution. Cheers, Shaun

@ghost
Copy link
Author

ghost commented Jul 3, 2014

@sjackman no problem, I understand.

@sjackman
Copy link
Member

sjackman commented Jul 3, 2014

I also see the same error memset error on Ubuntu 14.04.

@sjackman
Copy link
Member

sjackman commented Jul 3, 2014

I'd suggest reporting this issue to OpenEXR. It doesn't look specific to Homebrew/Linuxbrew.

@ghost
Copy link
Author

ghost commented Jul 3, 2014

@sjackman Not gonna work :D It's abandoned apparently, last commit was in November 26, 2013, check out my issues here and there.

@sjackman
Copy link
Member

sjackman commented Jul 3, 2014

In that case, I'm going to close this issue. Feel free to reopen it if you make progress on a solution. Good luck!

@sjackman sjackman closed this as completed Jul 3, 2014
@sjackman sjackman self-assigned this Jul 3, 2014
@awittmann
Copy link

Place #include "string.h" in the header file the error is coming from. This works for me.

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

No branches or pull requests

2 participants