Did you make sure those paths exist and have files in it?
I have been able to do it on several boxes so far.

you could try the the variables before the command too i guess 

CLFAGS="..." LDFLAGS="..." ./configure









On Tue, Feb 4, 2014 at 1:48 PM, Tamas Jalsovszky <jalsot@gmail.com> wrote:
I tried: ./configure CFLAGS="-I/opt/freeswitch/openssl101f/include" LDFLAGS="-L/opt/freeswitch/openssl101f/lib" --prefix=/opt/freeswitch --enable-sse
and: CFLAGS="-I/opt/freeswitch/openssl101f/include" LDFLAGS="-L/opt/freeswitch/openssl101f/lib" ./configure --prefix=/opt/freeswitch --enable-sse
with no success.


On Tue, Feb 4, 2014 at 8:20 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
You may need to put the variable declarations first and all the command line switches such as --prefix last.



On Tue, Feb 4, 2014 at 1:09 PM, Tamas Jalsovszky <jalsot@gmail.com> wrote:
Hello,

I tried this: ./configure --prefix=/opt/freeswitch --enable-sse CFLAGS="-I/opt/freeswitch/openssl101f/include" LDFLAGS="-L/opt/freeswitch/openssl101f/lib"
Previously I compiled openssl as it is documented in the wiki and in this thread.
Unfortunately I got:
checking for openssl... yes
checking openssl_CFLAGS... 
checking openssl_LIBS... -lssl -lcrypto 
  adding "-DHAVE_OPENSSL" to SWITCH_AM_CFLAGS
checking for SSL_CTX_set_tlsext_use_srtp in -lssl... yes
checking for DTLSv1_method in -lssl... no

configure: error: OpenSSL >= 1.0.1e and associaed developement headers required

FS git master (5228e02b19ea3d952d0c476e5aa0f1173b2083e4), Ubuntu 12.04 LTS.

Is there other trick to build FS master with openssl from source code?

Regards,
  T.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/  ☞ http://cluecon.com/  ☞ http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ http://freeswitch.org/g+

ClueCon Weekly Development Call 
☎ sip:888@conference.freeswitch.org  ☎ +19193869900