Mailing List Archive

build trunk in windows
Hi,

I am trying to build httpd on windoze...

"The .dsp project files are distributed in Visual Studio 6.0 (98)
format. Visual C++ 5.0 (97) will recognize them. Visual Studio 2002
(.NET) and later users must convert Apache.dsw plus the .dsp files into
an Apache.sln plus .msproj files. Be sure you reconvert the .msproj file
again if its source .dsp file changes! This is really trivial, just open
Apache.dsw in the VC++ 7.0 IDE once again and reconvert."

Where can I find the VC++ 7.0 IDE to convert the .dsp I can't use?

--
Cheers

Jean-Frederic
Re: build trunk in windows [ In reply to ]
I am not a Windows guy, but I guess the best way to build trunk on Windows is to use cmake which is integrated in later versions
of Visual studio.

Regards

Rüdiger

On 4/24/23 1:05 PM, jean-frederic clere wrote:
> Hi,
>
> I am trying to build httpd on windoze...
>
> "The .dsp project files are distributed in Visual Studio 6.0 (98) format. Visual C++ 5.0 (97) will recognize them. Visual Studio
> 2002 (.NET) and later users must convert Apache.dsw plus the .dsp files into an Apache.sln plus .msproj files. Be sure you
> reconvert the .msproj file again if its source .dsp file changes! This is really trivial, just open Apache.dsw in the VC++ 7.0 IDE
> once again and reconvert."
>
> Where can I find the VC++ 7.0 IDE to convert the .dsp I can't use?
>
Re: build trunk in windows [ In reply to ]
On 4/24/23 13:36, Ruediger Pluem wrote:
> I am not a Windows guy, but I guess the best way to build trunk on Windows is to use cmake which is integrated in later versions
> of Visual studio.

So I need first apr, then apr-util, in apr-util
+++
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in
the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
OPENSSL_INCLUDE_DIR)
-- Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR)
CMake Error at CMakeLists.txt:36 (MESSAGE):
APR include directory C:/Program Files (x86)/APR-Util/include is not
correct.
+++
Are all libraries mandatory? (apr-util needs some and httpd some more).

>
> Regards
>
> Rüdiger
>
> On 4/24/23 1:05 PM, jean-frederic clere wrote:
>> Hi,
>>
>> I am trying to build httpd on windoze...
>>
>> "The .dsp project files are distributed in Visual Studio 6.0 (98) format. Visual C++ 5.0 (97) will recognize them. Visual Studio
>> 2002 (.NET) and later users must convert Apache.dsw plus the .dsp files into an Apache.sln plus .msproj files. Be sure you
>> reconvert the .msproj file again if its source .dsp file changes! This is really trivial, just open Apache.dsw in the VC++ 7.0 IDE
>> once again and reconvert."
>>
>> Where can I find the VC++ 7.0 IDE to convert the .dsp I can't use?
>>

--
Cheers

Jean-Frederic
Re: build trunk in windows [ In reply to ]
There is a howto Building Apache and dependencies using CMake at

https://www.apachelounge.com/viewtopic.php?t=8609



> Op 24 apr. 2023 om 18:18 heeft jean-frederic clere <jfclere@gmail.com> het volgende geschreven:
> ?On 4/24/23 13:36, Ruediger Pluem wrote:
>> I am not a Windows guy, but I guess the best way to build trunk on Windows is to use cmake which is integrated in later versions
>> of Visual studio.
>
> So I need first apr, then apr-util, in apr-util
> +++
> -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
> -- Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR)
> CMake Error at CMakeLists.txt:36 (MESSAGE):
> APR include directory C:/Program Files (x86)/APR-Util/include is not
> correct.
> +++
> Are all libraries mandatory? (apr-util needs some and httpd some more).
>
>> Regards
>> Rüdiger
>> On 4/24/23 1:05 PM, jean-frederic clere wrote:
>>> Hi,
>>> I am trying to build httpd on windoze...
>>> "The .dsp project files are distributed in Visual Studio 6.0 (98) format. Visual C++ 5.0 (97) will recognize them. Visual Studio
>>> 2002 (.NET) and later users must convert Apache.dsw plus the .dsp files into an Apache.sln plus .msproj files. Be sure you
>>> reconvert the .msproj file again if its source .dsp file changes! This is really trivial, just open Apache.dsw in the VC++ 7.0 IDE
>>> once again and reconvert."
>>> Where can I find the VC++ 7.0 IDE to convert the .dsp I can't use?
>
> --
> Cheers
>
> Jean-Frederic
Re: build trunk in windows [ In reply to ]
On 4/24/23 18:25, Steffen wrote:
> There is a howto Building Apache and dependencies using CMake at
>
> https://www.apachelounge.com/viewtopic.php?t=8609
> <https://www.apachelounge.com/viewtopic.php?t=8609>
>
>

I ended fixing include/http_protocol.h see patch, did I miss something?


>
>> Op 24 apr. 2023 om 18:18 heeft jean-frederic clere <jfclere@gmail.com>
>> het volgende geschreven:
>>
>> ?On 4/24/23 13:36, Ruediger Pluem wrote:
>>> I am not a Windows guy, but I guess the best way to build trunk on
>>> Windows is to use cmake which is integrated in later versions
>>> of Visual studio.
>>
>> So I need first apr, then apr-util, in apr-util
>> +++
>> -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder
>> in the system variable OPENSSL_ROOT_DIR (missing:
>> OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
>> -- Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR)
>> CMake Error at CMakeLists.txt:36 (MESSAGE):
>>  APR include directory C:/Program Files (x86)/APR-Util/include is not
>>  correct.
>> +++
>> Are all libraries mandatory? (apr-util needs some and httpd some more).
>>
>>> Regards
>>> Rüdiger
>>> On 4/24/23 1:05 PM, jean-frederic clere wrote:
>>>> Hi,
>>>>
>>>> I am trying to build httpd on windoze...
>>>>
>>>> "The .dsp project files are distributed in Visual Studio 6.0 (98)
>>>> format. Visual C++ 5.0 (97) will recognize them. Visual Studio
>>>> 2002 (.NET) and later users must convert Apache.dsw plus the .dsp
>>>> files into an Apache.sln plus .msproj files. Be sure you
>>>> reconvert the .msproj file again if its source .dsp file changes!
>>>> This is really trivial, just open Apache.dsw in the VC++ 7.0 IDE
>>>> once again and reconvert."
>>>>
>>>> Where can I find the VC++ 7.0 IDE to convert the .dsp I can't use?
>>>>
>>
>> --
>> Cheers
>>
>> Jean-Frederic
>>

--
Cheers

Jean-Frederic
Re: build trunk in windows [ In reply to ]
On Wed, May 3, 2023 at 2:54?PM jean-frederic clere <jfclere@gmail.com> wrote:
>
> On 4/24/23 18:25, Steffen wrote:
> > There is a howto Building Apache and dependencies using CMake at
> >
> > https://www.apachelounge.com/viewtopic.php?t=8609
> > <https://www.apachelounge.com/viewtopic.php?t=8609>
> >
> >
>
> I ended fixing include/http_protocol.h see patch, did I miss something?

Looks like ap_h1_response_out_filter() is declared in
"include/mod_core.h" already, but without AP_CORE_DECLARE_NONSTD().
Not sure if we should remove the AP_CORE_DECLARE_NONSTD() in
"modules/http/http_filters.c" (where it's implemented) or add it in
the declaration. For instance ap_http_outerror_filter() has no
AP_CORE_DECLARE_NONSTD() anywhere..

Regards;
Yann.
Re: build trunk in windows [ In reply to ]
On 5/4/23 11:31, Yann Ylavic wrote:
> On Wed, May 3, 2023 at 2:54?PM jean-frederic clere <jfclere@gmail.com> wrote:
>>
>> On 4/24/23 18:25, Steffen wrote:
>>> There is a howto Building Apache and dependencies using CMake at
>>>
>>> https://www.apachelounge.com/viewtopic.php?t=8609
>>> <https://www.apachelounge.com/viewtopic.php?t=8609>
>>>
>>>
>>
>> I ended fixing include/http_protocol.h see patch, did I miss something?
>
> Looks like ap_h1_response_out_filter() is declared in
> "include/mod_core.h" already, but without AP_CORE_DECLARE_NONSTD().
> Not sure if we should remove the AP_CORE_DECLARE_NONSTD() in
> "modules/http/http_filters.c" (where it's implemented) or add it in
> the declaration. For instance ap_http_outerror_filter() has no
> AP_CORE_DECLARE_NONSTD() anywhere..

so removing AP_CORE_DECLARE_NONSTD() in ./modules/http/http_filters.c is
probably the smallest fix.

Putting AP_CORE_DECLARE_NONSTD() "everywhere" sounds weird to me ;-)

I will do that later this week-end, is that OK ;-)
>
> Regards;
> Yann.

--
Cheers

Jean-Frederic
Re: build trunk in windows [ In reply to ]
On 5/4/23 11:31, Yann Ylavic wrote:
> On Wed, May 3, 2023 at 2:54?PM jean-frederic clere <jfclere@gmail.com> wrote:
>>
>> On 4/24/23 18:25, Steffen wrote:
>>> There is a howto Building Apache and dependencies using CMake at
>>>
>>> https://www.apachelounge.com/viewtopic.php?t=8609
>>> <https://www.apachelounge.com/viewtopic.php?t=8609>
>>>
>>>
>>
>> I ended fixing include/http_protocol.h see patch, did I miss something?
>
> Looks like ap_h1_response_out_filter() is declared in
> "include/mod_core.h" already, but without AP_CORE_DECLARE_NONSTD().
> Not sure if we should remove the AP_CORE_DECLARE_NONSTD() in
> "modules/http/http_filters.c" (where it's implemented) or add it in
> the declaration. For instance ap_http_outerror_filter() has no
> AP_CORE_DECLARE_NONSTD() anywhere..

OK I have fixed ap_h1_response_out_filter() to follow
include/http_protocol.h

>
> Regards;
> Yann.

--
Cheers

Jean-Frederic
Re: build trunk in windows [ In reply to ]
> Am 12.06.2023 um 15:33 schrieb jean-frederic clere <jfclere@gmail.com>:
>
> On 5/4/23 11:31, Yann Ylavic wrote:
>> On Wed, May 3, 2023 at 2:54?PM jean-frederic clere <jfclere@gmail.com> wrote:
>>>
>>> On 4/24/23 18:25, Steffen wrote:
>>>> There is a howto Building Apache and dependencies using CMake at
>>>>
>>>> https://www.apachelounge.com/viewtopic.php?t=8609
>>>> <https://www.apachelounge.com/viewtopic.php?t=8609>
>>>>
>>>>
>>>
>>> I ended fixing include/http_protocol.h see patch, did I miss something?
>> Looks like ap_h1_response_out_filter() is declared in
>> "include/mod_core.h" already, but without AP_CORE_DECLARE_NONSTD().
>> Not sure if we should remove the AP_CORE_DECLARE_NONSTD() in
>> "modules/http/http_filters.c" (where it's implemented) or add it in
>> the declaration. For instance ap_http_outerror_filter() has no
>> AP_CORE_DECLARE_NONSTD() anywhere..
>
> OK I have fixed ap_h1_response_out_filter() to follow include/http_protocol.h


\o/

>
>> Regards;
>> Yann.
>
> --
> Cheers
>
> Jean-Frederic
>