Page 1 of 1

Install problem

Posted: 2016-04-23T10:51:54-07:00
by D.Mon
Hallo,

I tried to install ImageMagick 6.3.9-8 from source on OS X 10.11.
I don't want to use home-brew or something like this.

I installed jpegsrc.v9b the same way I did some time ago under OS X 10.10
after ./configure I get

Code: Select all

JPEG v1           --with-jpeg=yes		no (failed tests)
How can I get jpeg support in OS X 10.11?

Regards
D.Mon

Re: Install problem

Posted: 2016-04-23T12:31:10-07:00
by fmw42
You have either an error on installing the libjpeg or it is in the wrong location. Check your libjpeg install log.

If you install IM from binary, you should get Jpg support automatically. If you do it from source, I recommend installing all delegates from MacPorts and then install IM from source manually. See viewtopic.php?f=1&t=21502&p=88202&hilit ... rts#p88202

Re: Install problem

Posted: 2016-04-23T13:31:50-07:00
by D.Mon
I don't think I have an error on installing the libjpeg.
The binaries are in /usr/local/bin, the libs are in /usr/local/ an everything seems to work fine

In which location is it supposed to be?

This is the output of configure:

Code: Select all

checking for JPEG... 
checking jconfig.h usability... yes
checking jconfig.h presence... no
configure: WARNING: jconfig.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: jconfig.h: proceeding with the compiler's result
checking for jconfig.h... yes
checking jerror.h usability... yes
checking jerror.h presence... no
configure: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: jerror.h: proceeding with the compiler's result
checking for jerror.h... yes
checking jmorecfg.h usability... yes
checking jmorecfg.h presence... no
configure: WARNING: jmorecfg.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: jmorecfg.h: proceeding with the compiler's result
checking for jmorecfg.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... no
configure: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: jpeglib.h: proceeding with the compiler's result
checking for jpeglib.h... yes
checking for jpeg_read_header in -ljpeg... no
checking for JPEG library is version 6b or later... yes
checking if JPEG package is complete... no -- some components failed test
usability yes
presence no
What does this mean?

I don't have MacPorts installed and I don't want to install it.
What else could I try?

Re: Install problem

Posted: 2016-04-23T14:15:47-07:00
by fmw42
Google for it and see what comes up. For example, did you follow http://mac-dev-env.patrickbougie.com/libjpeg/

Perhaps IM expects an older or different version? see https://dzone.com/articles/installing-libjpeg-os-x and http://libjpeg.sourceforge.net/ and http://rudix.org/packages/libjpeg.html

Did you install IM after installing libjpg?

Do you have the right permissions where you installed it?

On my system I have libjpeg 9 (90)


JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (90)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (90)

Re: Install problem

Posted: 2016-04-24T00:08:42-07:00
by D.Mon
Thank you very much for your feedback.
Of course I did google quite a lot before asking here.

I finally found a solution after closely reading ./configure --help

Code: Select all

Some influential environment variables:
[...]
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
[...]
So I tried 'export LDFLAGS='-L/usr/local/lib'
I do not understand why this was necessary because as far as I know /usr/local/lib is a standard directory for libs.
Also the libraries for the other delegates are in that same directory.
It worked for me and maybe this will help someone else in the future.

P.S. Does anyone know how I can find out which email address my account in this forum is linked to?
Could´t find it in the user control panel.

Re: Install problem

Posted: 2016-04-24T01:24:41-07:00
by snibgo
D.Mon wrote:P.S. Does anyone know how I can find out which email address my account in this forum is linked to?
Click on your username (top-right).
At "User Control Panel", click on "Profile" tab.
Click on "Edit account settings" on the left.
"Email address" shows on the right.

Re: Install problem

Posted: 2016-04-24T02:43:12-07:00
by D.Mon
Thank you.
It shows my username in the email field.
I think this is because of OS X´s saved passwords.

Re: Install problem

Posted: 2016-04-24T02:56:42-07:00
by snibgo
I think it shows whatever you give as an email address. You can change it whenever you want.

Under tab "Board preferences", "Edit notification options", you can say when you want email. You might tick EMAIL for "Someone sends you a private message", and send yourself a PM.

Re: Install problem

Posted: 2016-04-24T09:09:21-07:00
by D.Mon
Well, actually I do not get any email notifications although I set "email on" in all lines in "Edit notification options".
I just tried by sending myself a PM as you suggested.

When I delete the saved password in my browser, I see my email address in the Email field in my profile.

Nevermind: I do get email notifications.
I didn´t realize they went to my spam folder because on my works´s computer I have set spam to be left in the inbox.

Re: Install problem

Posted: 2016-04-24T11:31:29-07:00
by fmw42
Is /usr/local/lib in your PATH environment variable? If not, try adding that and then perhaps you won't need LDFLAGS. But if it works now, perhaps not worth the effort to try this.