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 2006/06/14 19:24:20 UTC

DO NOT REPLY [Bug 39814] New: - decision on anonymous shared memory allocation method

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814

           Summary: decision on anonymous shared memory allocation method
           Product: APR
           Version: HEAD
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: brett_schmoll@adp.com


Attempting to configure APR on a HP Nonstop platform fails with an error 
regarding the shared memory allocation method despite reporting the presence of
shm libraries. 

<snipped from configure output>
checking for shmget... yes 
checking for shmat... yes 
checking for shmdt... yes 
checking for shmctl... yes 
./configure:Error: decision on anonymous shared memory allocation 
 method failed

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814





------- Additional Comments From rooneg@electricjellyfish.net  2006-06-14 17:45 -------
It looks, and I may be reading this wrong, I'm not an autoconf guru, that we
decided not to use shmget for our anonymous shared memory support because we
couldn't find sys/file.h, which is a required header for that support.  I have
no idea if that's correct on that platform or not, but that appears to be the
cause of the configure failure.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814


wrowe@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|bugs@httpd.apache.org       |bugs@apr.apache.org
             Status|NEEDINFO                    |NEW




------- Additional Comments From wrowe@apache.org  2006-09-19 19:54 -------
Mass reassign the 44 open apr-bugs to apr bug list

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814


brett_schmoll@adp.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18465|0                           |1
        is obsolete|                            |




------- Additional Comments From brett_schmoll@adp.com  2006-06-14 17:34 -------
Created an attachment (id=18466)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18466&action=view)
APR Config log


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814





------- Additional Comments From jorton@redhat.com  2006-06-15 09:08 -------
I'd be a bit worried about all these errors:

/usr/local/bin/cc: /usr/local/bin/cc_symbols: Permission denied
/usr/local/bin/cc: /usr/local/bin/cc_symbols: Permission denied

although they don't seem to be causing test failures.

I don't know why configure requires sys/file.h to be able to use anon-shmget().
 It looks like that code has been there since the configure code was copied from
MM.  AFAIK sys/file.h is only needed for use of flock(); and indeed, looking at
current versions of MM, it only actually *includes* sys/file.h if using
flock()-based locking.

Can you try editing the configure script: look for the *two* lines which look like:

for ac_spec in header:sys/ipc.h header:sys/shm.h header:sys/file.h ...

and delete the "header:sys/file.h" from them on both lines; then try re-running
the configure script.  (if it still fails please attach a new config.log)


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814





------- Additional Comments From brett_schmoll@adp.com  2006-06-16 16:26 -------
Created an attachment (id=18478)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18478&action=view)
Successfull config.log


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814





------- Additional Comments From jorton@redhat.com  2006-06-16 08:34 -------
Can you attach the config.log from the successful configure run?

Does this platform/compiler have a 64-bit integer type? (if not, this is a
showstopper for APR)

I'd guess some header needs to be included before sys/socket.h; can you work out
what it is? (perhaps from the "socket" man page).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From jorton@redhat.com  2006-06-19 13:34 -------
I don't think there's any way round that in APR.  Can you build gcc on this
platform, or any vendor-supplied C99 compiler?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814





------- Additional Comments From brett_schmoll@adp.com  2006-06-15 21:04 -------
Well one step forward...one step back.

configure runs successfully but the make fails when trying to compile the 
string directory. Looking into it, the apr_cpystrn.c etc have 
#if APR_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif

APR_HAVE_SYS_TYPES_H isn't defined by the modified configure and the compile 
fails on undefined types.

So, going back to looking at the cause of the failure in the configure script.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814





------- Additional Comments From brett_schmoll@adp.com  2006-06-15 16:33 -------
Kudo's Joe, deleting those items resolved the issue with APR configure! 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814





------- Additional Comments From brett_schmoll@adp.com  2006-06-15 22:31 -------
APR_HAVE_SYS_TYPES_H is defined (it wasn't showing as a -D to the libtool 
statment) but is set in apr.h.


/home/bschmoll/svn/subversion-1.3.2/apr: make
Making all in strings
/bin/sh /home/bschmoll/svn/subversion-1.3.2/apr/libtool --silent --
mode=compile cc -g   -DHAVE_CONFIG_H  -D_XOPEN_SOURCE_EXTENDED    -
I../include -I../include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
      char        __ss_pad1[_SS_PAD1SIZE]; /* 6 byte pad to alignment field */
                            ^
"/usr/include/sys/socket.h", line 187: error(114): identifier "u_short" is
          undefined


  typedef  unsigned long long   apr_uint64_t;
                         ^
"/home/bschmoll/svn/subversion-1.3.2/apr/strings/../include/apr.h", line 271: 
error(764):
          invalid unsigned type


  typedef  unsigned long long   apr_uint64_t;
  ^
"/home/bschmoll/svn/subversion-1.3.2/apr/strings/../include/apr.h", line 271: 
error(764):
          invalid unsigned type




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814





------- Additional Comments From brett_schmoll@adp.com  2006-06-16 16:29 -------
The platform does have support for 64bit with long long but for some reason 
doesn't have unsigned long long.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39814





------- Additional Comments From brett_schmoll@adp.com  2006-06-14 17:25 -------
Created an attachment (id=18465)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18465&action=view)
config log from failure


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org