ubuntu 64 bit 10.04

  • UBUNTU 10.04 64 bit g++ ver 4.4, build-essential 11.4 installed. Apache2 installed, phpmyadmin installed conquest MYSQL db created and privileges granted


    g++ -I/usr/local/mysql/include -I/usr/include/mysql -DUNIX -DNATIVE_ENDIAN=1 -DHAVE_LIBJASPER -DHAVE_LIBJPEG -DUSEMYSQL -Wno-write-strings total.cpp -o dgate -lpthread -L/usr/local/mysql/lib -L/usr/lib/mysql -lmysqlclient -ljasper -ljpeg -Ijpeg-6c -Ljpeg-6c -Wno-multichar -m32
    pkill -9 dgate
    sleep 0.2s
    cp dicom.ini.mysql dicom.ini
    cp dicom.sql.mysql dicom.sql


    sudo cp dgate /usr/lib/cgi-bin
    sudo cp dicom.sql /usr/lib/cgi-bin
    sudo cp dicom.ini.www /usr/lib/cgi-bin/dicom.ini
    sudo cp sample.cq /usr/lib/cgi-bin


    sudo cp ActiveFormProj1.ocx /var/www
    sudo cp conquest.jpg /var/www



    test@test-desktop:~/dcm/conquest$ sudo sh maklinux_mysql
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../libmysqlclient.so when searching for -lmysqlclient
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../libmysqlclient.a when searching for -lmysqlclient
    /usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient.so when searching for -lmysqlclient
    /usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient.a when searching for -lmysqlclient
    /usr/bin/ld: cannot find -lmysqlclient
    collect2: ld returned 1 exit status
    cp: cannot stat `dgate': No such file or directory
    test@test-desktop:~/dcm/conquest$



    Guessing I need to look for a 32 bit libmysqlclient. Is that the right place for the -m32 flag?

  • using alpha5.


    removed -m32 flag


    after ./configure, make and make install jasper and ./configure make and make install jpeg-6 stuff...


    test@test-desktop:~/dcm/conquest$ sudo sh maklinux_mysql
    /usr/local/lib/libjasper.a(jas_stream.o): In function `jas_stream_tmpfile':
    /home/test/dcm/conquest/jasper-1.900.1-6ct/src/libjasper/base/jas_stream.c:368: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
    test@test-desktop:~/dcm/conquest$



    ??

Participate now!

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