January 2010 Archives
2010-01-26 17:04:51
install MySQL++ on RHEL5.3 (Linux)
http://tangentsoft.net/mysql++/
# install mysql C API [] yum install mysql.i386 mysql-devel.i386 # check /usr/include/mysql and /usr/lib/mysql # extract mysql++ sourec into /home/softwares/ [] ln -s /home/softwares/mysql++-3.0.0.9 /opt/mysql++ [] cd /home/softwares/mysql++-3.0.9 [] ./configure --prefix=/opt/mysql++ checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether we are using the Intel C compiler... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether we are using the Intel C++ compiler... no checking whether we are using the Sun C++ compiler... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for ar... ar checking for strip... strip checking for nm... nm checking for command to install directories... /usr/bin/install -c -d checking if make is GNU make... yes checking for dependency tracking method... gcc checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether -lm is needed to use C math functions... no checking whether -lsocket is needed... no checking whether -lnsl is needed... no checking for MySQL library directory... /usr/lib/mysql checking for MySQL include directory... /usr/include/mysql checking if we can link to MySQL C API library directly... yes checking for mysql_ssl_set in -lmysqlclient... yes checking for localtime_r()... yes checking for main in -lintl... no checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking for STL slist extension..., namespace __gnu_cxx configure: creating ./config.status config.status: creating doc/userman/userman.dbx config.status: creating install.hta config.status: creating lib/Doxyfile config.status: creating lib/mysql++.h config.status: creating mysql++.spec config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged [] make [] make install add the following in .tcshrc # mysql library setenv MYSQL_INC_DIR /usr/include/mysql setenv MYSQL_LIB_DIR /usr/lib/mysql setenv LD_LIBRARY_PATH ${MYSQL_LIB_DIR}:${LD_LIBRARY_PATH} # mysql++ library setenv MYSQLPPSYS /opt/mysql++ setenv MYSQLPP_INC_DIR ${MYSQLPPSYS}/include setenv MYSQLPP_LIB_DIR ${MYSQLPPSYS}/lib setenv LD_LIBRARY_PATH ${MYSQLPP_LIB_DIR}:${LD_LIBRARY_PATH}
2010-01-19 21:54:02
DAQ crates for Qweak
***********************************************************
******** Electronics ROOM at the Counting House ***********
***********************************************************
* VME64x (ROC13) CH03B05
: Model UEP 6021, max 16A
9 : F1 TDC
9 : SiS 36/38xx scaler
1 : Trigger Interface (T1) (TIR version 2)
1 : Motorola MVME 5100
1 : Backplane Distribution Card
(doghouse : Region 2 and Region 3 wire chamber readout)
* VME64x (ROC14) CH03B04
: Model UEP 6021 FUSE, Max 15A
7 : F1 TDC
7 : SiS 36/38xx scaler
1 : Trigger Interface (T1) (TIR version 2)
1 : Motorola MVME 6100
(doghouse : Region 2 and Region 3 wire chamber readout)
* VME64x
Wiener, [SN:F222616]
: Model UEP 6021 Max 15A
W&M will borrow this crate for the chamber testing
(2nd floor cage : One F1TDC crate (1 F1TDC)
Trigger scintillator, main detector,
scanner readout)
***********************************************************
******* Qweak Cage of the Counting House (2nd floor) ******
***********************************************************
* Trigger Supervisor crate
1 : TS
1 : Motorola MVME 2401
1 : FLEX IO
3 : SiS 36/38xx scaler
1 : CAEN V462 Dual Gate Generator
1 : F1/JLAB
1 : STR7200 scaler
3 slots available
* VME : G0 DAQ ROC9 (+5V, +12V, -12V)
: Max 12A
13 : VQWK ADCs
1 : CAEN V1495
1 : Trigger Interface (T1) (TIR version 2)
1 : Motorola MVME 2306
(2nd floor cage: VQWK modules for beamline and main
detector readout)
* VME : (+5V, +12V, -12V) [SN:F219658]
: FUSE 30A 32V 311
(There is no label on the crate.
I found these numbers on the fuse itself)
: Empty
(2nd floor cage : VQWK modules for beamline and main
detector readout)
* NIM crate CH03C09 [SN:F2-18186]
9 slots are available
1 : yellow regulator (?)
2 : 16ch V/F converters
* NIM crate CH03C06
Model 7700 BiRa system
4 slots are available
2 : TC531 counter
2 : RF->ECL converter
1 : 16ch V/F converter
1 : Philips Model 794 Quad Gate/Delay Generator
1 : " Model 757(?) Mixed Logic FIFO
1 : " Model 756 Quad Four-Fold Logic Unit
* NIM crate CH03C06
Model 7700 BiRa system
No available slot
1 : CAEN Mod N145 Quad Scaler (2 NIM size)
1 : Lecroy Model 465 coincidence unit
1 : Lecroy Model 4616 ECL-NIM-ECL
3 : Philips Model 726 Level Translator
1 : " Model 752 Quad Two-Fold Logic unit
1 : " Model 757 Quad Four-Fold Logic Unit
1 : " Model 794 Quad Gate/Delay Generator
1 : " Model 710 Octal Discriminator
1 : " Model 711 Six Channel Discriminator
* NIM crate [SN:PCOM0218]
Empty
(2nd floor cage : three NIM crates for parity DAQ and
control signals)
***********************************************************
******* ROOM 126 at EEL Building ********
***********************************************************
* NIM crate
P/S Model 700
1 : Philips Model 792 Delay Module [SN: 3897]
1 : " Model 740 Quad Linear FIFO [SN:19712]
1 : " Model 757 Quad Four-Fold Logic Unit [SN:17338]
1 : " Model 706 Sixteen Channels Discriminator [SN:20884]
1 : " Model 776 Sixteen Channels Amplifier [SN:19420]
1 : " Model 726 Level Translator [SN:18959]
* The power indicter is broken, but the voltage outputs
were measured correctly.
Input 103-129V Fuse 5A/SLO
Input 206-258V Fuse 3A/SLO
47-65HZ 350W
+/-6V,+/-12V,+/-24V
(Doghouse : One NIM crate Fanout and logic conversion
of trigger and clock, amplification of
GEM timing reference)
* NIM crate
2 slots are available
1 : RF->ECL converter
1 : Philips Model 794 Quad Gate/Delay Generator[SN: 3811]
1 : CAEN N454 4-8 logic FIFO [SN: 0418]
1 : Philips Model 758 Octal Logic Unit [SN:21077]
1 : Philips Model 726 Level Translator [SN:21111]
1 : CAEN N108A Dual Delay [SN: 0071]
1 : CANE N842 8 Channels CFD [SN: 0065]
1 : CAEN N625 Quad Linear FIFO [SN: 0099]
2 : HV power supply NHQ 203 M (2*3kV/4mV)
Input 103-129V Fuse 5A/SLO
Input 206-258V Fuse 3A/SLO
47-65HZ 350W
+/-6V,+/-12V,+/-24V
(2nd floor cage)
* VME GWU [SN:0631191]
3 slots are available
1 : Motolora MVME 2431
1 : Trigger Interface (T1) (TIR version 1)
1 : CAEN V775N [SN:0532]
1 : CAEN V792N [SN:0773]
1 : CAEN V706
1 : SiS 36/38xx scaler
10A Fuse SB
(2nd floor cage : Trigger scintillator readout)