Re: MacOS install failure - cannot find ssl.h, posted by Stefan Ritt on Thu Dec 15 12:50:51 2016
|
On Sierre, /opt/local/include should be already included in the standar search path of the prprocessor:
/elog$ cpp -v
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.1.0
...
#include "..." search starts here:
#include <...> search starts here:
/opt/local/include
/usr/local/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
stefano bonaldo wrote: |
On Sierra Macports install openssl in /opt/local/include/ , but copy it into /usr/local/include. You should able to fix it.
sudo cp -r /opt/local/include/openssl /usr/local/include/
Stefan Ritt wrote: |
My macports puts it under
/opt/local/include/openssl/ssl.h
Christina Swinson wrote: |
I responded too quickly.
I already have openssl installed via macports (this is the "Mac version" of libssl-dev).
Does anyone know where exactly elog is looking for openssl/ssl.h? I have just updated Macports and upgraded to Sierra, so maybe it's been dumped it in a different location.
Christina
Christina Swinson wrote: |
Oops!
I think that I must have skipped straight to the MacOS notes instead of reading the linux section properly.
Thanks for the help,
Christina
Stefan Ritt wrote: |
If you look into the documentationa at:
http://midas.psi.ch/elog/adminguide.html#unix
you will see that for Linux (as well asl MacOS) you need the libssl-dev packaged to be installed. There are many ways to install this on MacOS, I personally use the MacPorts distribution:
https://www.macports.org/ports.php?by=library&substr=openssl
Best regards,
Stefan
Christina Swinson wrote: |
Hi,
I am trying to install on MacOS Sierra. I believe that I have followed all the steps correctly, but the install is failing with the following error:
cc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -Wno-deprecated-declarations -DHAVE_SSL -o elog src/elog.c crypt.o -lssl
src/elog.c:57:10: fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
^
1 error generated.
make: *** [elog] Error 1
Help appreciated!
Thanks,
Christina
|
|
|
|
|
|
|
Re: MacOS install failure - cannot find ssl.h, posted by Stefano Bonaldo on Thu Dec 15 15:04:53 2016
|
Currently, in my MacBook Pro with Sierre, the search path /opt/local/include of the prprocessor is not included.
cpp -v
Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin16.1.0
....
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory) |
Re: MacOS install failure - cannot find ssl.h, posted by Stefan Ritt on Thu Dec 15 15:41:59 2016
|
export C_INCLUDE_PATH=/opt/local/include
should do the trick. Put this into your .profile
Stefano Bonaldo wrote: | Currently, in my MacBook Pro with Sierre, the search path /opt/local/include of the prprocessor is not included.
cpp -v
Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin16.1.0
....
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.0.0/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory) |
|
Re: MS Fonts only in ELCode options?, posted by Stefan Ritt on Mon Jan 9 20:53:28 2006
|
T. Ribbrock wrote: | I'm just after installing 2.6.0 and marvelling at all the changes, especially ELCode (I was using 2.5.8 previously). However, I noticed that the "FONT" menu for ELCodes only offers Microsoft fonts - something I usually avoid like hell when publishing web content, as I cannot rely on those being installed on the clients. As far as I can see there is no easy way to change this, short of patching the source - or is there?
I'd want to add at least options like "serif" and "sans-serif" and maybe some standard (Unix\?) fonts like "Helvetica". |
In revision 1593 I implemented a "Fonts = ..." option where you can specify a list of fonts to be shown on the list. I tried however the MS set of fonts on a Linux system, and found that the MS fonts got mapped to Unix fonts in a reasonable way. Even the Comic Sans MS font was avalilable. |
Re: MS Fonts only in ELCode options?, posted by T. Ribbrock on Tue Jan 10 10:42:18 2006
|
Stefan Ritt wrote: |
In revision 1593 I implemented a "Fonts = ..." option where you can specify a list of fonts to be shown on the list. I tried however the MS set of fonts on a Linux system, and found that the MS fonts got mapped to Unix fonts in a reasonable way. Even the Comic Sans MS font was avalilable. |
Very nice, thanks! Yes, vou're right, MS fonts have a chance of working on newer Linux distributions, but not on all and there are still older ones out there - never mind all those folks sitting behind some kind of Solaris/Sparc box or similar...  |
Re: MOptions problem ?, posted by Alex H on Mon Feb 27 11:16:56 2006
|
[quote="Alex H"]Hi Stephan,
I have a unknown bug and need help :)!
First, please take a look to attached screenshot
On the "elog problem1.gif" and "elog problem2.gif" there aren't any problem.
The entry "Mairie STO" appears correct but when I try to edit the "Equipment" field, the list/combo shows
improper data.
I obtain "- please select -" instead of "RT0004"
What's the problem ?
Thanks a lot.[/quote]
UP! No idea :'( ? |
Re: MOptions problem ?, posted by Holger Mundhahs on Mon Feb 27 13:26:31 2006
|
Hello Alex,
can you please provide the following information:
- Which ELOG version do you use?
- From which logbook are the screenshots? (I assume it's Liste - right?)
I've tested your configuration with version V2.6.1-1663, and in my case it works.
I use your attribute block in GLOBAL section and the following logbook:
[DEMO]
Comment = TEST
Attributes = Admin, Client, Equipment
Extendable options = Client, Equipment
Regards
Holger
> [quote="Alex H"]Hi Stephan,
> I have a unknown bug and need help :)!
>
> First, please take a look to attached screenshot
> On the "elog problem1.gif" and "elog problem2.gif" there aren't any problem.
> The entry "Mairie STO" appears correct but when I try to edit the "Equipment" field, the list/combo shows
> improper data.
> I obtain "- please select -" instead of "RT0004"
> What's the problem ?
> Thanks a lot.[/quote]
>
> UP! No idea :'( ? |
Re: MOptions problem ?, posted by Alex H on Tue Feb 28 09:56:55 2006
|
Hi Holger,
> Which ELOG version do you use?
I'am using the version V2.6.1-1653 of Elog
> From which logbook are the screenshots? (I assume it's Liste - right?)
Right :)!
I've just seen that Stefan has build a V2.6.1-1663 version of ELOG.
I try to install this new version and gave you answer as soon as possible :)! |