Results 1 to 5 of 5

Thread: 3-19-09 patch build via cmake available

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    329

    3-19-09 patch build via cmake available

    I've merge the 3-19-09 patch into the cmake build branch on launchpad. Looking for people to test out builds.

    Thanks.


    Showeq cmake code, instructions how to download it, whiteboard, and revision history:
    https://code.launchpad.net/~showeq-team/showeq/cmake

    Building:
    https://answers.launchpad.net/showeq/+question/58962

    Bugs:
    https://bugs.launchpad.net/showeq

    Please do not bother the upstream developers with issues on this branch. Use the above bug tracker and I'll work the problems I can and will push issues to upstream that aren't related to the cmake build.

    Answer (FAQ):
    https://answers.launchpad.net/showeq

    Wanna help? Come check out the showeq-team on launchpad:
    https://launchpad.net/~showeq-team

  2. #2
    Developer
    Join Date
    Jan 2002
    Posts
    239

    Re: 3-19-09 patch build via cmake available

    I did a fresh pull from launchpad per posted instructions and it doesn't seem to build. I fails out with a a 'PKGDATADIR' not declared in this scope.

    I had this problem last time I tried this and was able to get around it by removing references to PKGDATADIR in the code. I thought I saw posts that this had been corrected. Has this been corrected and should I be able to just build with the following?

    Code:
    $ bzr branch lp:~showeq-team/showeq/cmake
    Branched 18 revision(s). # Make sure it's revision 18 -or- higher
    $ cd cmake
    $ cmake .
    -- Version: 5.13.0.0 # Version will change for each release
    -- DATA_INSTALL_DIR: /usr/local/share/showeq
    -- PKGDATADIR: /usr/local/share/showeq # Did PKGDATADIR get set?
    -- showeq is used as APPLICATION_NAME
    -- Configuring done
    -- Generating done
    <snip>
    $ make

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    329

    Re: 3-19-09 patch build via cmake available

    Quote Originally Posted by bonkersbobcat View Post
    I did a fresh pull from launchpad per posted instructions and it doesn't seem to build. I fails out with a a 'PKGDATADIR' not declared in this scope.
    Instead of a 'cmake .', try a 'cmake -i', say "no" to the advanced options. And pick-n-choice your default settings for the other entries.

    Think of 'cmake -i' like configure --prefix= but interactive.

    I've posted to cmake user list asking about this issue. It is also related to purple's complaint that my name is all over the patch. Everything I've read says to do 'cmake .', but if you are over-whelmed by all the options, I've found a 'cmake -i < /dev/null' and then 'make' work fine.

    What OS are you build on?

  4. #4
    Registered User
    Join Date
    Jun 2006
    Posts
    31

    Re: 3-19-09 patch build via cmake available

    for some reason, when I get that error, I just run cmake again and it seems to clear it up. Does that work for you?

  5. #5
    Registered User
    Join Date
    Jul 2004
    Posts
    329

    Re: 3-19-09 patch build via cmake available

    I've talked with the cmake user community and found out that the preferred way of building projects via cmake it using Out-of-source build.

    I've made a branch to test and would like to see if this new build strategy resolves the 'PKGDATADIR' not declared in this scope and the "running cmake 2 times" issues.

    It -does- resolve purple's complaint about "my name" all over the patches. Pretty neat stuff to keep all the build/temp files out of the source directory.

    Code:
    $ bzr branch http://bazaar.frostmage.org/showeq/out-of-source-build 
    $ cd out-of-source-build/build
    $ cmake ..
    <snip>
    -- Version: 5.13.3.0
    -- DATA_INSTALL_DIR: /usr/local/share/showeq
    -- PKGDATADIR: /usr/local/share/showeq
    $ make

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On