Failing to link openssl

View: New views
7 Messages — Rating Filter:   Alert me  

Failing to link openssl

by Felix Holmgren :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've applied patches on llvm and nscell and was hoping to be close to
a full make, but now this:

  Compiling file ETSocket.m ...
  ETSocket.m:1:25: error: openssl/ssl.h: No such file or directory
  ETSocket.m:2:25: error: openssl/err.h: No such file or directory
  cc1obj: warnings being treated as errors

I pulled the openssl source, built and installed... Does the build
process use pkg-config? Because it hasn't got openssl in the registry.

/F

_______________________________________________
Etoile-dev mailing list
Etoile-dev@...
https://mail.gna.org/listinfo/etoile-dev

Re: Failing to link openssl

by Quentin Mathé-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le 25 juil. 09 à 18:08, Felix Holmgren a écrit :

> I've applied patches on llvm and nscell and was hoping to be close to
> a full make, but now this:
>
>  Compiling file ETSocket.m ...
>  ETSocket.m:1:25: error: openssl/ssl.h: No such file or directory
>  ETSocket.m:2:25: error: openssl/err.h: No such file or directory
>  cc1obj: warnings being treated as errors
>
> I pulled the openssl source, built and installed... Does the build
> process use pkg-config? Because it hasn't got openssl in the registry.

EtoileFoundation was indeed not using pkg-config to figure out libssl  
and libcrypto related flags.
I fixed it with r5042.

Let me know if that works now. I cannot fully test because on Ubuntu  
these libraries are in standard paths, so pkg-config only returns a  
custom value for --libs-only-l.
Just by curiosity, on which platform are you trying to compile Étoilé?

Thanks for the report,
Quentin.
_______________________________________________
Etoile-dev mailing list
Etoile-dev@...
https://mail.gna.org/listinfo/etoile-dev

Re: Failing to link openssl

by Felix Holmgren :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> EtoileFoundation was indeed not using pkg-config to figure out libssl
> and libcrypto related flags.
> I fixed it with r5042.
> Let me know if that works now.
Thanks. Will do.

> I cannot fully test because on Ubuntu
> these libraries are in standard paths, so pkg-config only returns a
> custom value for --libs-only-l.
> Just by curiosity, on which platform are you trying to compile Étoilé?

I'm trying out Mint (www.linuxmint.com) right now. It's basically
Ubuntu with some gui candy, and I wasn't expecting any problems with
it. GNUstep did get installed in kind of a strange place, but I don't
see how that could be Mint's fault. Will let you know if I find any
other specific issues.

/F

_______________________________________________
Etoile-dev mailing list
Etoile-dev@...
https://mail.gna.org/listinfo/etoile-dev

Re: Failing to link openssl

by Felix Holmgren :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> I cannot fully test because on Ubuntu
>> these libraries are in standard paths, so pkg-config only returns a
>> custom value for --libs-only-l.
Could you explain this a bit more? In fact, what I was saying was that
my openssl install failed to put its .pc file in the pkg-config
directory. Does this have anything to do with running on Ubuntu?

Thanks.
/F

_______________________________________________
Etoile-dev mailing list
Etoile-dev@...
https://mail.gna.org/listinfo/etoile-dev

Re: Failing to link openssl

by Quentin Mathé-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le 29 juil. 09 à 13:54, Felix Holmgren a écrit :

>> I cannot fully test because on Ubuntu
>> these libraries are in standard paths, so pkg-config only returns a
>> custom value for --libs-only-l.
>> Just by curiosity, on which platform are you trying to compile  
>> Étoilé?
>
> I'm trying out Mint (www.linuxmint.com) right now. It's basically
> Ubuntu with some gui candy, and I wasn't expecting any problems with
> it.

ok.

> GNUstep did get installed in kind of a strange place,

The usual install location is /usr/GNUstep

> but I don't
> see how that could be Mint's fault. Will let you know if I find any
> other specific issues.

I just want to warn you that Étoilé won't build with GNUstep stable  
releases. Only unstable versions are supported (more explanations can  
be found in INSTALL).
AFAIK on Ubuntu only the stable versions are available as packages.
Which means GNUstep make/base/gui/back unstable release tarballs have  
to downloaded and compiled.
That's also why GNUstep packages are not listed as dependencies in  
INSTALL.Ubuntu.

Cheers,
Quentin.
_______________________________________________
Etoile-dev mailing list
Etoile-dev@...
https://mail.gna.org/listinfo/etoile-dev

Re: Failing to link openssl

by Quentin Mathé-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le 29 juil. 09 à 14:26, Felix Holmgren a écrit :

>>> I cannot fully test because on Ubuntu
>>> these libraries are in standard paths, so pkg-config only returns a
>>> custom value for --libs-only-l.
> Could you explain this a bit more? In fact, what I was saying was that
> my openssl install failed to put its .pc file in the pkg-config
> directory.

Ah ok. I thought by 'build process' you were referring to the Étoilé  
build process.

> Does this have anything to do with running on Ubuntu?

I don't really know. With Ubuntu 9.04, I just installed libssl-dev  
with apt-get and everything got correctly installed.
On my install, pkg-config --libs openssl returns '-lssl -lcrypto' and  
pkg-config --cflags returns an empty result.

Cheers,
Quentin.


_______________________________________________
Etoile-dev mailing list
Etoile-dev@...
https://mail.gna.org/listinfo/etoile-dev

Re: Failing to link openssl

by Felix Holmgren :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Ah ok. I thought by 'build process' you were referring to the Étoilé
> build process.
Yep I did. The Etoile build process failed. But the reason seemed to
be the openssl libs.

>> Does this have anything to do with running on Ubuntu?
>
> I don't really know. With Ubuntu 9.04, I just installed libssl-dev
> with apt-get and everything got correctly installed.
> On my install, pkg-config --libs openssl returns '-lssl -lcrypto' and
> pkg-config --cflags returns an empty result.

Thanks. I will make a new attempt asap and let you know.

_______________________________________________
Etoile-dev mailing list
Etoile-dev@...
https://mail.gna.org/listinfo/etoile-dev