Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130902143402.GA15226@openwall.com>
Date: Mon, 2 Sep 2013 18:34:02 +0400
From: Solar Designer <solar@...nwall.com>
To: owl-users@...ts.openwall.com
Subject: Re: MySQL w/cmake: anyone tried packaging for Owl?

On Mon, Sep 02, 2013 at 05:11:19PM +0400, croco@...nwall.com wrote:
> So, I tried and even succeeded with rpm'ing cmake for Owl (the version is
> 2.8.11.2).  However, this didn't help.  After I created a mysql.spec file
> for cmake-driven build, it worked up to the point of '%install', where
> rpmbuild fails trying to copy a file into its final system location instead
> of local directory for packing.  The Makefile which cmake generates, seems
> to ignore the 'DESTDIR=...' argument completely, and here is where I gave
> up after a ten or so hopeless attempts to fix something.  Well, I could
> agree to pack cmake, but I feel absolutely unprepared to waste my time
> _learning_ it as to be able to patch MySQL's build configuration files.
> This is way too much.

I did not test this with MySQL/MariaDB specifically, but in general:

cmake -DCMAKE_INSTALL_PREFIX=/desired/target/dir

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.