I built 64 bit apache (on x86) using the following layout:
-------------------------------------------------------------------
<Layout Solaris-Apache2>
prefix: /usr/apache2
exec_prefix: ${prefix}
bindir: ${prefix}/bin/amd64
sbindir: ${prefix}/bin/amd64
libdir: ${prefix}/lib/amd64
mandir: ${prefix}/man
sysconfdir: /etc/apache2
datadir: /var/apache2
libexecdir: ${datadir}/libexec/amd64
installbuilddir: ${prefix}/build/amd64
errordir: ${datadir}/error
iconsdir: ${datadir}/icons
htdocsdir: ${datadir}/htdocs
manualdir: ${prefix}/manual
cgidir: ${datadir}/cgi-bin
includedir: ${prefix}/include/amd64
localstatedir: ${prefix}
runtimedir: /var/run/apache2
logfiledir: ${datadir}/logs
proxycachedir: ${datadir}/proxy
</Layout>
-------------------------------------------------------------------
I had to fix the 64 bit specific path issues within
* build/rules.mk :
include $(top_builddir)/build/config_vars.mk
to
include $(top_builddir)/build/amd64/config_vars.mk
* build/special.mk :
include $(top_builddir)/build/rules.mk
.......
$(top_srcdir)/build/instdso.sh
to
include $(top_builddir)/build/amd64/rules.mk
.......
$(top_srcdir)/build/amd64/instdso.sh
Best Regards,
Seema.
Seema Alevoor wrote:
>> The problem is not with the standard 'bin', 'lib' or 'libexec'
>> subdirectories, since the 64-bit location under bin/${amd64,sparcv9} and
>> lib/${amd64/sparcv9} has already been established as a standard naming
>> convention in Solaris for a long time.
>>
>> The problem is with the other directories, namely: include and build,
>> for which there are no established naming conventions or directory
>> hierarchies.
>>
>> The current convention within Solaris is *not* to have separate include
>> directories for 64-bit, and to assume that one set of header files is
>> correct under both 32- and 64- bit.
>>
>> My original message did not mention bin, lib or libexec, it specifically
>> mentioned include and build.
>>
>>
>
> Agreed.
> I did not mention this explicitly in my previous mails, but yes, apache needs
> separate directories for 64 bit specific header and build files. For conf
> file too,
> since we are planning to provide a default conf file for supporting OOB
> apache startup,
> we need to have separate one for 64 bit as the path for "LoadModule" will
> vary for
> 32 bit and 64 bit.
>
> Thanks and Regards,
> Seema.
> _______________________________________________
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss
>