On 2009-11-18 23:35, Lucien Gentis wrote: > So, I verified variants installed, and all ports whom apache2 depends are > build with universal variant. > > But there seems to be a problem with libaprutil :
> command "file /opt/local/lib/libaprutil-1.0.3.9.dylib" only returns : > /opt/local/lib/libaprutil-1.0.3.9.dylib: Mach-O 64-bit dynamically linked > shared library x86_64 > > So, even if apr-util is installed with "universal" variant, it supports only > x86_64 architecture, and when I try to install apache2, it doesn't find > certain symbols in libaprutil for i386 architecture. You appear to have found a bug in apr-util. Please file a ticket in trac. > But, since my iMac has a x86_64 architecture, I don't need apache2 build for > i386 ; so I edited /opt/local/etc/macports/macports.conf and changed > "universal_archs x86_64 i386" to "universal_archs > x86_64", and it worked. Why are you using +universal if you only need a single-architecture build? Changing universal_archs to contain only one architecture makes no sense. > But this doesn't explain why apr-util isn't installed for i386 architecture, > even with "universal" variant. (how does it work on i386 machines ?) If you install without +universal, ports are built for $build_arch. See <http://guide.macports.org/chunked/internals.configuration-files.html#internals.configuration-files.macports-conf>. - Josh _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
