opensslconf.h file not generated

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

opensslconf.h file not generated

OpenSSL - User mailing list
Hi,

Earlier our application used openSSL version 1.0.2n. We want to upgrade to 1.1.1b.
When I compile openssl, I see "opensslconf.h" not found error.

../../../../vendor/openssl/include/openssl/e_os2.h:13:34: fatal error: openssl/opensslconf.h: No such file or directory

With below configure options, opensslconf.h file is not generated. I tried giving --prefix, --openssldir, disable-deprecated options as well.

./Configure linux-generic32

./Configure \
            no-idea no-md2 no-md4 no-mdc2 no-rc2 no-rc5 \
            -DOPENSSL_SYSNAME_LINUX -DOPENSSL_USE_IPV6 -DOPENSSL_IMPLEMENTS_strncasecmp \
            -ffunction-sections -fdata-sections \
            shared no-hw no-asm \
            -m32 linux-generic32

Am I missing any option in Configure. Can someone help me on this.

Thanks & Regards,
Samiya khanum
Reply | Threaded
Open this post in threaded view
|

Re: opensslconf.h file not generated

Richard Levitte - VMS Whacker-2
What else did you do other than configuring?

Cheers
Richard

Samiya Khanum via openssl-users <[hidden email]> skrev: (13 maj 2019 05:19:18 GMT-07:00)

>Hi,
>
>Earlier our application used openSSL version 1.0.2n. We want to upgrade
>to
>1.1.1b.
>When I compile openssl, I see "opensslconf.h" not found error.
>
>../../../../vendor/openssl/include/openssl/e_os2.h:13:34: fatal error:
>openssl/opensslconf.h: No such file or directory
>
>With below configure options, opensslconf.h file is not generated. I
>tried
>giving --prefix, --openssldir, disable-deprecated options as well.
>
>./Configure linux-generic32
>
>./Configure \
>            no-idea no-md2 no-md4 no-mdc2 no-rc2 no-rc5 \
>            -DOPENSSL_SYSNAME_LINUX -DOPENSSL_USE_IPV6
>-DOPENSSL_IMPLEMENTS_strncasecmp \
>            -ffunction-sections -fdata-sections \
>            shared no-hw no-asm \
>            -m32 linux-generic32
>
>Am I missing any option in Configure. Can someone help me on this.
>
>Thanks & Regards,
>Samiya khanum

--
Skickat från min Android-enhet med K-9 Mail. Ursäkta min fåordighet.
Reply | Threaded
Open this post in threaded view
|

Re: opensslconf.h file not generated

OpenSSL - User mailing list
Hi Richard,

I have extracted tar file and executed Configure command. Do we need to set anything before Configure?

On Mon 13 May, 2019, 7:33 PM Richard Levitte, <[hidden email]> wrote:
What else did you do other than configuring?

Cheers
Richard

Samiya Khanum via openssl-users <[hidden email]> skrev: (13 maj 2019 05:19:18 GMT-07:00)
>Hi,
>
>Earlier our application used openSSL version 1.0.2n. We want to upgrade
>to
>1.1.1b.
>When I compile openssl, I see "opensslconf.h" not found error.
>
>../../../../vendor/openssl/include/openssl/e_os2.h:13:34: fatal error:
>openssl/opensslconf.h: No such file or directory
>
>With below configure options, opensslconf.h file is not generated. I
>tried
>giving --prefix, --openssldir, disable-deprecated options as well.
>
>./Configure linux-generic32
>
>./Configure \
>            no-idea no-md2 no-md4 no-mdc2 no-rc2 no-rc5 \
>            -DOPENSSL_SYSNAME_LINUX -DOPENSSL_USE_IPV6
>-DOPENSSL_IMPLEMENTS_strncasecmp \
>            -ffunction-sections -fdata-sections \
>            shared no-hw no-asm \
>            -m32 linux-generic32
>
>Am I missing any option in Configure. Can someone help me on this.
>
>Thanks & Regards,
>Samiya khanum

--
Skickat från min Android-enhet med K-9 Mail. Ursäkta min fåordighet.
Reply | Threaded
Open this post in threaded view
|

Re: opensslconf.h file not generated

Richard Levitte - VMS Whacker-2
Well, you do need to actually build it, i.e. run "make"

What I want to do is exactly what you did that got you that error.
What command did you run after configuring?

Cheers,
Richard

On Mon, 13 May 2019 07:19:31 -0700,
Samiya Khanum wrote:

>
>
> Hi Richard,
>
> I have extracted tar file and executed Configure command. Do we need to set anything before
> Configure?
>
> On Mon 13 May, 2019, 7:33 PM Richard Levitte, <[hidden email]> wrote:
>
>     What else did you do other than configuring?
>    
>     Cheers
>     Richard
>    
>     Samiya Khanum via openssl-users <[hidden email]> skrev: (13 maj 2019 05:19:18
>     GMT-07:00)
>     >Hi,
>     >
>     >Earlier our application used openSSL version 1.0.2n. We want to upgrade
>     >to
>     >1.1.1b.
>     >When I compile openssl, I see "opensslconf.h" not found error.
>     >
>     >../../../../vendor/openssl/include/openssl/e_os2.h:13:34: fatal error:
>     >openssl/opensslconf.h: No such file or directory
>     >
>     >With below configure options, opensslconf.h file is not generated. I
>     >tried
>     >giving --prefix, --openssldir, disable-deprecated options as well.
>     >
>     >./Configure linux-generic32
>     >
>     >./Configure \
>     >            no-idea no-md2 no-md4 no-mdc2 no-rc2 no-rc5 \
>     >            -DOPENSSL_SYSNAME_LINUX -DOPENSSL_USE_IPV6
>     >-DOPENSSL_IMPLEMENTS_strncasecmp \
>     >            -ffunction-sections -fdata-sections \
>     >            shared no-hw no-asm \
>     >            -m32 linux-generic32
>     >
>     >Am I missing any option in Configure. Can someone help me on this.
>     >
>     >Thanks & Regards,
>     >Samiya khanum
>    
>     --
>     Skickat från min Android-enhet med K-9 Mail. Ursäkta min fåordighet.
>
>
--
Richard Levitte         [hidden email]
OpenSSL Project         http://www.openssl.org/~levitte/
Reply | Threaded
Open this post in threaded view
|

Re: opensslconf.h file not generated

OpenSSL - User mailing list
Hi Richard,

When I executed "make" in openssl directory, opensslconf.h file is generated. When I do "make" in our projects build directory, opensslconf.h is not generated. 
 is this file generated by Configure command or make command?

On Mon 13 May, 2019, 10:56 PM Richard Levitte, <[hidden email]> wrote:
Well, you do need to actually build it, i.e. run "make"

What I want to do is exactly what you did that got you that error.
What command did you run after configuring?

Cheers,
Richard

On Mon, 13 May 2019 07:19:31 -0700,
Samiya Khanum wrote:
>
>
> Hi Richard,
>
> I have extracted tar file and executed Configure command. Do we need to set anything before
> Configure?
>
> On Mon 13 May, 2019, 7:33 PM Richard Levitte, <[hidden email]> wrote:
>
>     What else did you do other than configuring?
>   
>     Cheers
>     Richard
>   
>     Samiya Khanum via openssl-users <[hidden email]> skrev: (13 maj 2019 05:19:18
>     GMT-07:00)
>     >Hi,
>     >
>     >Earlier our application used openSSL version 1.0.2n. We want to upgrade
>     >to
>     >1.1.1b.
>     >When I compile openssl, I see "opensslconf.h" not found error.
>     >
>     >../../../../vendor/openssl/include/openssl/e_os2.h:13:34: fatal error:
>     >openssl/opensslconf.h: No such file or directory
>     >
>     >With below configure options, opensslconf.h file is not generated. I
>     >tried
>     >giving --prefix, --openssldir, disable-deprecated options as well.
>     >
>     >./Configure linux-generic32
>     >
>     >./Configure \
>     >            no-idea no-md2 no-md4 no-mdc2 no-rc2 no-rc5 \
>     >            -DOPENSSL_SYSNAME_LINUX -DOPENSSL_USE_IPV6
>     >-DOPENSSL_IMPLEMENTS_strncasecmp \
>     >            -ffunction-sections -fdata-sections \
>     >            shared no-hw no-asm \
>     >            -m32 linux-generic32
>     >
>     >Am I missing any option in Configure. Can someone help me on this.
>     >
>     >Thanks & Regards,
>     >Samiya khanum
>   
>     --
>     Skickat från min Android-enhet med K-9 Mail. Ursäkta min fåordighet.
>
>
--
Richard Levitte         [hidden email]
OpenSSL Project         http://www.openssl.org/~levitte/