port install postfix @2.9.2_0 +mysql55 fails to install in destroot
Bjarne D Mathiesen
macintosh at mathiesen.info
Thu May 10 10:33:15 PDT 2012
Bradley Giesbrecht wrote:
>
> On May 10, 2012, at 10:04 AM, Bjarne D Mathiesen wrote:
>
>> OK ... I fixed the build problem ... now I've got problems with destroot :-(
>>
>> Now, we've got the following in patch-cmake-install_layout.cmake.diff
>> +SET(INSTALL_LIBDIR_MACPORTS "lib/@NAME@/mysql")
>
> Yes, change from "lib/@NAME@/mysql" to "lib/@NAME@" solves one problem and creates another. This is where I stopped to work on other deadlines.
what other problem have you observed at a consequence of this change ???
>
>> and in the postfix Portfile we've got
>> lappend AUXLIBS "-L${prefix}/lib/mysql55/mysql" -lmysqlclient -lz -lm
>> who are in complere agrement with each other.
>> so, we'll have to
>> a) find where mysql55 inserts this incorrect value
>> *-or-*
>> b ) modify our install instruction to mysql55 as well as other program
>> accordingly
>
> If a) is due to a bug it would be nice to fix it and submit it to the mysql bug tracker.
> If a) is not a bug we should b) fix the mysql55 install instructions.
I'm unable to say either or ... this supercedes my current knowledge :-)
>
>> as to (a) that has left me completely stumped :-( I've been all over the
>> source code without being able to find exactly where this happens :-(
>>
>> as to (b) I've got it working with simple changes to
>> patch-cmake-install_layout.cmake.diff
>> the postfix Portfile
>
> Can you share your changes to patch-cmake-install_layout.cmake.diff?
> Are they in BitBucket? Looking now...
... uploaded
--
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
More information about the macports-dev
mailing list