Scribus, Cairo, and compiling. - Slackware

This is a discussion on Scribus, Cairo, and compiling. - Slackware ; I want to use a recent version (1.3.5svn) of the program Scribus. I have with some effort managed it on Kununtu unstable. But that Linux version doesn't meet my needs in a variety of other areas. When I compile the ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: Scribus, Cairo, and compiling.

  1. Scribus, Cairo, and compiling.

    I want to use a recent version (1.3.5svn) of the program Scribus. I
    have with some effort managed it on Kununtu unstable. But that Linux
    version doesn't meet my needs in a variety of other areas.

    When I compile the latest svn for Scribus to Slack 12 it blows up on
    cairo. It wants the 2.x version. I can't find anything on
    linuxpackages etc. that recent. Can anyone suggest another source? I
    tried copying all the libcairoxx stuff from the Kubuntu partition and
    running ldconfig but the compile still blows up.

    John Culleton

  2. Re: Scribus, Cairo, and compiling.

    john@wexfordpress.com wrote:
    > When I compile the latest svn for Scribus to Slack 12 it blows up on
    > cairo. It wants the 2.x version.


    all i can find on google is that cairo is close to releasing version
    1.6.0. it doesn't look like a 2.x version of cairo even exists.

    > I can't find anything on
    > linuxpackages etc. that recent. Can anyone suggest another source?


    the best source is always the source itself.

    it would help if you would post the error message that you get when you run
    make. it might be better to ask on the scribus mailing list, though,
    because there people are more likely to have experience with compiling
    scribus from source.


    --
    Joost Kremers joostkremers@yahoo.com
    Selbst in die Unterwelt dringt durch Spalten Licht
    EN:SiS(9)

  3. Re: Scribus, Cairo, and compiling.

    john@wexfordpress.com wrote:

    > When I compile the latest svn for Scribus to Slack 12 it blows up on
    > cairo. It wants the 2.x version. *I can't find anything on
    > linuxpackages etc. that recent. Can anyone suggest another source?


    Cairo's home page suggests that it may not have advanced beyond 1.5.8.
    (snapshot), with 1.4.14 being the latest, (14th of January last),
    release available, see: http://cairographics.org/
    --
    Two Ravens
    "...hit the squirrel..."

  4. Re: Scribus, Cairo, and compiling.

    On Feb 13, 1:42 pm, Two Ravens wrote:
    > j...@wexfordpress.com wrote:
    > > When I compile the latest svn for Scribus to Slack 12 it blows up on
    > > cairo. It wants the 2.x version. I can't find anything on
    > > linuxpackages etc. that recent. Can anyone suggest another source?

    >
    > Cairo's home page suggests that it may not have advanced beyond 1.5.8.
    > (snapshot), with 1.4.14 being the latest, (14th of January last),
    > release available, see:http://cairographics.org/
    > --
    > Two Ravens
    > "...hit the squirrel..."


    I understand. However when you download it onto Kubunto you need to
    ask for
    apt-get-install cairo2-dev.

    The error messages on slack 12 follow. cmake finds Cairo OK. But
    make...
    safe@hdb3:/usr/local/scribus135/Scribus$ make
    [ 0%] Built target scribus_fonts_lib
    [ 1%] Built target scribus_desaxe_lib
    [ 2%] Built target scribus_text_lib
    [ 2%] Built target scribus_styles_lib
    Linking CXX executable scribus
    /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libcairo.so:
    undefined reference to `png_set_interlace_handling@PNG12_0'
    /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libcairo.so:
    undefined reference to `png_create_write_struct@PNG12_0'
    /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libcairo.so:
    undefined reference to `png_set_bKGD@PNG12_0'
    etc.

    Now the partition for /usr/local/ is shared by both Kubuntu and Slack
    12. The array of libcairo* files is as identical as I can make it in
    the two /usr/lib files.
    Frankly I am stumped. I hate to reboot kubuntu every time I need to
    use current Scribus.

    Is it possibly a difference in kernel?

    John Culleton

  5. Re: Scribus, Cairo, and compiling.


    john@wexfordpress.com wrote :

    > Linking CXX executable scribus
    > /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libcairo.so:
    > undefined reference to `png_set_interlace_handling@PNG12_0'


    Try compiling the source to libcairo from Slackware to see if it helps:

    --
    Thomas O.

    This area is designed to become quite warm during normal operation.

  6. Re: Scribus, Cairo, and compiling.

    Op Wed, 13 Feb 2008 18:12:09 -0800, schreef john@wexfordpress.com:

    >
    > The error messages on slack 12 follow. cmake finds Cairo OK. But
    > make...
    > safe@hdb3:/usr/local/scribus135/Scribus$ make
    > [ 0%] Built target scribus_fonts_lib
    > [ 1%] Built target scribus_desaxe_lib
    > [ 2%] Built target scribus_text_lib
    > [ 2%] Built target scribus_styles_lib
    > Linking CXX executable scribus
    > /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libcairo.so:
    > undefined reference to `png_set_interlace_handling@PNG12_0'
    > /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libcairo.so:
    > undefined reference to `png_create_write_struct@PNG12_0'
    > /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libcairo.so:
    > undefined reference to `png_set_bKGD@PNG12_0'
    > etc.
    >


    Cairo is ok.
    It can't find libpng while linking.

    check the output of "pkg-config --cflags --libs libpng".
    ( that gives "-I/usr/include/libpng12 -lpng12" here )

    Maybe libpng isn't installed correct.

    cashmir


  7. Re: Scribus, Cairo, and compiling.

    On Feb 17, 8:33 am, cashmir wrote:
    > Op Wed, 13 Feb 2008 18:12:09 -0800, schreef j...@wexfordpress.com:
    >
    >
    >
    >
    >
    > > The error messages on slack 12 follow. cmake finds Cairo OK. But
    > > make...
    > > safe@hdb3:/usr/local/scribus135/Scribus$ make
    > > [ 0%] Built target scribus_fonts_lib
    > > [ 1%] Built target scribus_desaxe_lib
    > > [ 2%] Built target scribus_text_lib
    > > [ 2%] Built target scribus_styles_lib
    > > Linking CXX executable scribus
    > > /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libcairo.so:
    > > undefined reference to `png_set_interlace_handling@PNG12_0'
    > > /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libcairo.so:
    > > undefined reference to `png_create_write_struct@PNG12_0'
    > > /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libcairo.so:
    > > undefined reference to `png_set_bKGD@PNG12_0'
    > > etc.

    >
    > Cairo is ok.
    > It can't find libpng while linking.
    >
    > check the output of "pkg-config --cflags --libs libpng".
    > ( that gives "-I/usr/include/libpng12 -lpng12" here )
    >
    > Maybe libpng isn't installed correct.
    >
    > cashmir


    I tried that and got the same result.

    John C.

+ Reply to Thread