stefanocasazza / ULib

C++ application development framework, to help developers create and deploy applications quickly and simply
GNU Lesser General Public License v3.0
947 stars 107 forks source link

Compilation Error on Mac #16

Closed victorstewart closed 8 years ago

victorstewart commented 8 years ago

When installing the framework, getting this output...

ld: unknown option: -R/usr/local/lib clang: error: linker command failed with exit code 1 (use -v to see invocation)

... when trying to 'make' after './configure'-(ing)

I understand that it is a compiler issue, but at a loss for how to remedy this! I would greatly appreciate some direction :)

stefanocasazza commented 8 years ago

Hi,

I don't see how can be -R..., can you send me the output of ./configure (config.log) ?

Stefano

2016-02-29 0:37 GMT+01:00 Gukki5 notifications@github.com:

When installing the framework, getting this output...

ld: unknown option: -R/usr/local/lib clang: error: linker command failed with exit code 1 (use -v to see invocation)

... when trying to 'make' after './configure'-(ing)

I understand that it is a compiler issue, but at a loss for how to remedy this! I would greatly appreciate some direction :)

— Reply to this email directly or view it on GitHub https://github.com/stefanocasazza/ULib/issues/16.

victorstewart commented 8 years ago

thank you for taking the time to check this out!

configure output.txt

stefanocasazza commented 8 years ago

Ok,

I see the problem... in a little time I will publish a fix on github...

Have a good day

Stefano

2016-02-29 14:55 GMT+01:00 Gukki5 notifications@github.com:

thank you for taking the time to check this out!

configure output.txt https://github.com/stefanocasazza/ULib/files/151004/configure.output.txt

— Reply to this email directly or view it on GitHub https://github.com/stefanocasazza/ULib/issues/16#issuecomment-190221914.

victorstewart commented 8 years ago

Awesome, thank you!

By the way, I saw that HTTP/2 is disabled by default on the configuration file. Is it not safe to use?

stefanocasazza commented 8 years ago

Hi,

You're welcome. The status of the implementation of HTTP/2 is not complete so far, it work for single request (curl ...) but I need to test it with a browser and this take some time...

Greetings

2016-02-29 16:32 GMT+01:00 Gukki5 notifications@github.com:

Awesome, thank you!

By the way, I saw that HTTP/2 is disabled by default on the configuration file. Is it not safe to use?

— Reply to this email directly or view it on GitHub https://github.com/stefanocasazza/ULib/issues/16#issuecomment-190258076.

victorstewart commented 8 years ago

We should have a conversation about how I could help you with that testing...

I'm going to use ULib to write the server for the startup my friend and I are launching, and I'd love to have the performance advantages of HTTP/2 over 1.1

stefanocasazza commented 8 years ago

Hi,

I start today to make more tests for HTTP/2, please note that in general the browsers so far use it only with https, so the performance advantages are only in this context unless you use other types of clients http. If you want to test also I would love it, in general to test ULib HTTP/2 you must use configure --enable-debug --enable-http2 ... and run UTRACE="0 50M" userver_ssl -c server.cfg. This produce the trace file trace.userver_ssl. that I need to look when something going wrong...

Greetings Stefano

2016-03-02 3:08 GMT+01:00 Gukki5 notifications@github.com:

We should have a conversation about how I could help you with that testing...

I'm going to use ULib to write the server for the startup my friend and I are launching, and I'd love to have the performance advantages of HTTP/2 over 1.1

— Reply to this email directly or view it on GitHub https://github.com/stefanocasazza/ULib/issues/16#issuecomment-191018959.

victorstewart commented 8 years ago

Cool, that sounds great! Once I have everything up and running on my end, I'd enjoy helping out— however I can be of aid.

Mainly I will control the entire environment (iOS / Android app with this server backend) so I can take full advantage of all HTTP/2 performance benefits. (Will also have a slight webpage presence to begin with, but much more in the future.) Apple forces use of TLS, and I'll use TLS anyway on Android... So will always be operating over a secured channel.

Have you worked on moving ULib from SSL to TLS yet?

stefanocasazza commented 8 years ago

Hi,

I'm not sure to understand your question, I wrap in ULib the openssl library and the protocol used in secured channel is in general TLS v1.2: https://www.ssllabs.com/ssltest/analyze.html?d=wifi-aaa.comune.fi.it&latest

Anyway I am glad if you can be of aid...

Greetings

Stefano

2016-03-03 1:15 GMT+01:00 Gukki5 notifications@github.com:

Cool, that sounds great! Once I have everything up and running on my end, I'd enjoy helping out— however I can be of aid.

Mainly I will control the entire environment (iOS / Android app with this server backend) so I can take full advantage of all HTTP/2 performance benefits. (Will also have a slight webpage presence to begin with, but much more in the future.) Apple forces use of TLS, and I'll use TLS anyway on Android... So will always be operating over a secured channel.

Have you worked on moving ULib from SSL to TLS yet?

— Reply to this email directly or view it on GitHub https://github.com/stefanocasazza/ULib/issues/16#issuecomment-191504170.