help intsalling on ubuntu 10.04

  • Hi there, I would like to test out conquest and have tried installing it on my ubuntu server by foloowing this guide:
    http://blog.kyodium.net/2010/1…quest-on-ubuntu-1004.html


    I get as far as running [icode]sudo ./maklinux_mysql[/icode]
    but end up with this error:

    Code
    $ sudo ./maklinux_mysql
    /usr/bin/ld: cannot find -ljasper
    collect2: ld returned 1 exit status
    cp: cannot stat `dgate': No such file or directory


    Some help would be gratefully received !!

  • thanks for the reply.


    I have followed the instructions in linuxmanual.pdf


    and still get the same problem, the make command for jasper-1.900.1-6ct ends with this error:

    Code
    then mv -f ".deps/jpg_dec.Tpo" ".deps/jpg_dec.Plo"; else rm -f ".deps/jpg_dec.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/libjasper/include/jasper -I../../../src/libjasper/include -g -O2 -MT jpg_dec.lo -MD -MP -MF .deps/jpg_dec.Tpo -c jpg_dec.c -o jpg_dec.ojpg_dec.c: In function 'jpg_put_pixel_rows':jpg_dec.c:312: error: 'JSAMPLE16' undeclared (first use in this function)jpg_dec.c:312: error: (Each undeclared identifier is reported only oncejpg_dec.c:312: error: for each function it appears in.)jpg_dec.c:312: error: 'bufptr16' undeclared (first use in this function)jpg_dec.c:329: error: 'JSAMPROW16' undeclared (first use in this function)make[3]: *** [jpg_dec.lo] Error 1make[3]: Leaving directory `/home/sysadmin/conquest/jasper-1.900.1-6ct/src/libjasper/jpg'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory `/home/sysadmin/conquest/jasper-1.900.1-6ct/src/libjasper'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/home/sysadmin/conquest/jasper-1.900.1-6ct/src'make: *** [all-recursive] Error 1


    the makelinux command then fails with:

    Code
    $ sudo ./maklinux_mysql
    /usr/bin/ld: cannot find -ljasper
    collect2: ld returned 1 exit status
    cp: cannot stat `dgate': No such file or directory
  • same problem with 1.4.17alpha
    This error at the ens of make for jasper-1.900.1-6ct

    Code
    jpg_dec.c: In function 'jpg_put_pixel_rows':jpg_dec.c:312: error: 'JSAMPLE16' undeclared (first use in this function)jpg_dec.c:312: error: (Each undeclared identifier is reported only oncejpg_dec.c:312: error: for each function it appears in.)jpg_dec.c:312: error: 'bufptr16' undeclared (first use in this function)jpg_dec.c:329: error: 'JSAMPROW16' undeclared (first use in this function)make[3]: *** [jpg_dec.lo] Error 1make[3]: Leaving directory `/root/conquest/jasper-1.900.1-6ct/src/libjasper/jpg'make[2]: *** [install-recursive] Error 1make[2]: Leaving directory `/root/conquest/jasper-1.900.1-6ct/src/libjasper'make[1]: *** [install-recursive] Error 1make[1]: Leaving directory `/root/conquest/jasper-1.900.1-6ct/src'make: *** [install-recursive] Error 1


    and this error for maklinux_mysql

    Code
    In file included from total.cpp:137:
    dgate.cpp:10548:8: warning: extra tokens at end of #endif directive
    dgate.cpp:23200:8: warning: extra tokens at end of #endif directive
    /usr/bin/ld: cannot find -ljasper
    collect2: ld returned 1 exit status
    cp: cannot stat `dgate': No such file or directory

    :?::?:

  • Hi,


    I use Ubuntu 10.10 without problems....


    Apparently something in the config enables the JPEG code where JSAMPLE16 is used. I assume it is unsigned short, i.e, try to replace:


    "JSAMPLE16" by "unsigned short"


    Marcel

  • Quote from marcelvanherk


    Apparently something in the config enables the JPEG code where JSAMPLE16 is used. I assume it is unsigned short, i.e, try to replace:


    "JSAMPLE16" by "unsigned short"


    Please can you be more specific about which file I need to modify, I am a clinician not an IT pro :?
    Thanks

  • Marcel,


    So I replaced every instance of "JSAMPLE16" with "unsigned short" by using this command in the ~/conquest directory:

    Code
    find ./ -type f -readable -writable -exec sed -i "s/JSAMPLE16/unsigned short/g" {} \;


    Then I re-ran the ./compile and make install commands in the /jasper-1.900.1-6ct directory which ended in this output:

    Code
    jpg_dec.c: In function 'jpg_put_pixel_rows':jpg_dec.c:329: error: 'JSAMPROW16' undeclared (first use in this function)jpg_dec.c:329: error: (Each undeclared identifier is reported only oncejpg_dec.c:329: error: for each function it appears in.)make[3]: *** [jpg_dec.lo] Error 1make[3]: Leaving directory `/root/conquest/jasper-1.900.1-6ct/src/libjasper/jpg'make[2]: *** [install-recursive] Error 1make[2]: Leaving directory `/root/conquest/jasper-1.900.1-6ct/src/libjasper'make[1]: *** [install-recursive] Error 1make[1]: Leaving directory `/root/conquest/jasper-1.900.1-6ct/src'make: *** [install-recursive] Error 1


    Then I ran the ./maklinux_mysql with the following errors:

    Code
    In file included from total.cpp:137:
    dgate.cpp:10548:8: warning: extra tokens at end of #endif directive
    dgate.cpp:23200:8: warning: extra tokens at end of #endif directive
    In file included from jpeg-6c/jpeglib.h:27,
    from nkiqrsop.cpp:240,
    from total.cpp:135:
    jpeg-6c/jmorecfg.h:104: error: duplicate ‘unsigned’
    jpeg-6c/jmorecfg.h:104: error: duplicate ‘short’
    jpeg-6c/jmorecfg.h:104: error: declaration does not declare anything
    cp: cannot stat `dgate': No such file or directory
  • Hi,


    it seems you replaced too much, only change things in the jasper folder, but you also have to change JSAMPROW16 which should be unsigned short *


    Still not sure what is causing your issue though. Some setting must be different on your system...


    Marcel

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!