Posts by barrydocks

    Please be gentle.


    I have set up Conquest on Ubuntu 16.04 from the repositories, I have managed to link it to the a MYSQL server and generated all the tables.


    How do I set up the webserver with GUI interface? I have apache2 installed


    I can't find any instructions anywhere?


    Thanks

    Adrian

    So I have managed to install and configure ConQuest on Ubuntu 10.04 :D


    I have tried to add downloaded sample directly on the web gui but I am always faced with

    Code
    500 Internal Server Error


    This is the entry in the apache log:

    Code
    [Fri Jan 04 13:54:48 2013] [error] [client 10.0.0.30] Premature end of script headers: dgate, referer: http://10.0.0.21/cgi-bin/dgate


    Any suggestions??


    Also where can I upload image files for automatic inclusion in the conquest database?


    Thanks

    Quote from marcelvanherk

    Hi Barry,


    carefully follow the steps in linuxmanual.pdf. There have some been some issues lately so let me know what happens.


    Marcel


    Marcel,


    Thanks for the help, I plan on trying to have another on a vanilla 10.04 installation - my server is pretty old and has a mish-mash of stuff installed on it which may be the problem.


    I'll let you know how I get on.

    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
    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

    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

    :?::?:

    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

    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 !!