MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Jani Tolonen Date:August 31 1999 12:16pm
Subject:Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)
View as plain text  
Kimmo Mustonen writes:
 > On Tue, 31 Aug 1999, Jani Tolonen wrote:
 > 
 > > 2.) (This is in the manual under 'Alpha-DEC-Unix notes'.)
 > > 
 > > shell> CC="cc -pthread" CXX="cxx -pthread -O" \
 > >        ./configure --with-named-thread-libs="-lpthread -lmach -lexc -lc"
 > 
 > alpha2> rm config.cache
 > alpha2> sh -c 'CC="cc -pthread" CXX="cxx -pthread -O" ./configure
 > --with-named-thread-libs="-lpthread -lmach -lexc -lc"'
 > ...
 > checking whether the C++ compiler (cxx -pthread -O   ) works... no
 > configure: error: installation or configuration problem: C++ compiler
 > cannot create executables.
 > 
 > I don't seem to have cxx... should I have it?
 > Try to use c++ (ecgs) instead instead of cxx...

Hi,

You can get past this by installing g++, libg++ and libstdc++ libraries.

Please see also the config.log file. It should contain
more information.

You could also try changing the CXX=... to CXX="gcc -O3"


 > alpha2> rm config.cache
 > alpha2> sh -c 'CC="cc -pthread" CXX="c++ -pthread -O" ./configure
 > --with-named-thread-libs="-lpthread -lmach -lexc -lc"'
 > ...
 > alpha2> make clean
 > ...
 > alpha2> make
 > ...
 > cc -pthread -std1 -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -I./../include
 > -I./.. -I..    -O   -DDBUG_OFF -c bind.c
 > cc: Warning: bind.c, line 208: Non-void function
 > "rl_unbind_function_in_map" does not contain a return statement.
 > int
 > ^
 > ...
 > cc -pthread -std1 -O -DDBUG_OFF -o test_thr_alarm
 > -DDEFAULT_BASEDIR=\"/usr/local\" -DDATADIR=\"/usr/local/var\"
 > -DHAVE_CONFIG_H -I./../include -I../include -I.. -O -DDBUG_OFF -DMAIN
 > ./thr_alarm.c libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lm
 > -lpthread -lmach -lexc -lc
 > ld:
 > Unresolved:
 > asm
 > *** Exit 1
 > Stop.
 > *** Exit 1
 > Stop.
 > *** Exit 1
 > Stop.
 > 

Please try:

cd mysql-distribution; 
touch include/c_asm.h; 
make clean; 
make


 > > If you are still having problems compiling, please report back.
 > 
 > I'm afraid I still have... :(
 > 
 > Regards,
 > Kimmo Mustonen
 > 

Can you please send next mail with mysqlbug, if the problem
still exists? mysqlbug will gather useful information of your
platform.

Regards,

- Jani

Ps. You can find a binary distribution for your platform
    from http://www.mysql.com/download_3.22.html
    under link
    osf4.0b on alpha (dec). (This is the same version)
    But of course if you need to get the source distribution to
    work, we'll try to help you out.
-- 
+-------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___                        |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|       Jani Tolonen     |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|       jani@stripped   |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|       Helsinki         |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|_____  Finland          |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                   |
|             /*/             \*\            Developers Team  |
+-------------------------------------------------------------+
Thread
Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Kimmo Mustonen31 Aug
  • Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Jani Tolonen31 Aug
    • Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Kimmo Mustonen31 Aug
      • Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Jani Tolonen31 Aug
        • UnixWare Threads... From SCO...801) 250-O795 Work31 Aug
        • Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Kimmo Mustonen1 Sep
    • Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Yan Zhang Chen31 Aug
      • Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Michael Widenius1 Sep
  • Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Michael Widenius31 Aug
    • Re: Problems compiling mysql-3.22.25 on Digital Unix 4.0x (AlphaServer)Kimmo Mustonen1 Sep