You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2020/08/22 23:33:23 UTC
[Bug 64684] New: Apache make fails if (./configure
--with-included-apr --with-apr-util)
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
Bug ID: 64684
Summary: Apache make fails if (./configure --with-included-apr
--with-apr-util)
Product: Apache httpd-2
Version: 2.4.43
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: Build
Assignee: bugs@httpd.apache.org
Reporter: sumonto.ghosh@gmail.com
Target Milestone: ---
Mac OS X: 10.15.5
Download
httpd-2.4.46.tar.bz2
apr-1.7.0.tar.gz
apr-util-1.6.1.tar.gz
Steps
cd httpd-2.4.46
mv apr-util-1.6.1 httpd-2.4.38/srclib/apr-util
mv apr-1.6.5 httpd-2.4.38/srclib/apr
./configure --with-included-apr --with-apr-util
make
...
In file included from ./include/apr_encode.h:24:
./include/apr.h:561:2: error: Can not determine the proper size for pid_t
#error Can not determine the proper size for pid_t
^
In file included from encoding/apr_encode.c:30:
In file included from ./include/apr_strings.h:52:
./include/apr_want.h:94:8: error: redefinition of 'iovec'
struct iovec
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_iovec_t.h:31:8:
note:
previous definition is here
struct iovec {
^
2 errors generated.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
--- Comment #6 from Christophe JAILLET <ch...@wanadoo.fr> ---
Hi, as spotted by Jim, the APR version you download seems to
(In reply to Sumonto Ghosh from comment #0)
> Steps
> cd httpd-2.4.46
2.4.46
> mv apr-util-1.6.1 httpd-2.4.38/srclib/apr-util
> mv apr-1.6.5 httpd-2.4.38/srclib/apr
2.4.38???
Just a typo in your report or you are copying in another directory and not
building what you think you are?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
Sumonto Ghosh <su...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|NEW |RESOLVED
--- Comment #9 from Sumonto Ghosh <su...@gmail.com> ---
Thanks Jim,
Beta XCode was the issue
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
paulo@prsolucoes.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WORKSFORME |---
Ever confirmed|1 |0
Status|RESOLVED |UNCONFIRMED
--- Comment #13 from paulo@prsolucoes.com ---
Hi,
This was fixed?
We have a problem here:
https://github.com/conan-io/conan-center-index/issues/3008
Can anyone help me?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
Sumonto Ghosh <su...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #3 from Sumonto Ghosh <su...@gmail.com> ---
Same issue with
./configure --with-included-apr
make
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
--- Comment #8 from Jim Jagielski <ji...@apache.org> ---
What version of the Xcode command line tools are you using? I cannot recreate
w/ the latest official (non-beta) release of Xcode 11.5 command-line tools.
Did you install the CLI via:
xcode-select --install
Did you accept the Xcode license via:
xcodebuild -license
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
--- Comment #7 from Sumonto Ghosh <su...@gmail.com> ---
wget https://downloads.apache.org//apr/apr-util-1.6.1.tar.gz
wget https://downloads.apache.org//apr/apr-1.7.0.tar.gz
wget https://archive.apache.org/dist/httpd/httpd-2.4.46.tar.bz2
tar -xf httpd-2.4.46.tar.bz2
tar -xf apr-util-1.6.1.tar.gz
tar -xf apr-1.7.0.tar.gz
mv apr-util-1.6.1 httpd-2.4.46/srclib/apr-util
mv apr-1.7.0 httpd-2.4.46/srclib/apr
cd httpd-2.4.46
./configure --with-included-apr --with-apr-util
--or-- ./configure --with-included-apr
make
Making all in srclib
Making all in apr
...
...
encoding/apr_encode.c && touch encoding/apr_encode.lo
In file included from encoding/apr_encode.c:28:
In file included from ./include/apr_encode.h:24:
./include/apr.h:561:2: error: Can not determine the proper size for pid_t
#error Can not determine the proper size for pid_t
^
In file included from encoding/apr_encode.c:30:
In file included from ./include/apr_strings.h:52:
./include/apr_want.h:94:8: error: redefinition of 'iovec'
struct iovec
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_iovec_t.h:31:8:
note:
previous definition is here
struct iovec {
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
--- Comment #11 from Sumonto Ghosh <su...@gmail.com> ---
You are correct Jim, good work :)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
--- Comment #4 from Jim Jagielski <ji...@apache.org> ---
What version of APR are you using? You say download apr-1.7.0 but in the Steps
you refer to APR 1.6.5
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
Christophe JAILLET <ch...@wanadoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Christophe JAILLET <ch...@wanadoo.fr> ---
Hi,
do you have the same issue if you avoid the "--with-apr-util" parameter?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
--- Comment #5 from Sumonto Ghosh <su...@gmail.com> ---
Sorry for the confusion
wget https://archive.apache.org/dist/httpd/httpd-2.4.46.tar.bz2
wget https://downloads.apache.org//apr/apr-util-1.6.1.tar.gz
wget https://downloads.apache.org//apr/apr-1.7.0.tar.gz
These are the latest available on
https://apr.apache.org/
Thanks
Sumonto
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
--- Comment #12 from Stephen Kalinin <ka...@gmail.com> ---
So.. how to fix this for Big Sur?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
--- Comment #2 from Sumonto Ghosh <su...@gmail.com> ---
Yes same issue
./configure --with-included-apr
make
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 64684] Apache make fails if (./configure --with-included-apr
--with-apr-util)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64684
--- Comment #10 from Jim Jagielski <ji...@apache.org> ---
Ahhh. Since the new beta Xcode is designed for Big Sur, it has that macOS10 or
macOS11 weirdness, depending on a envvar, iirc. Sounds like it was compiling
for macOS11 and, as such, was not setting the Darwin10 compilation variable and
lots of stuff was getting mangled.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org