2010-01-26 17:04:51
install MySQL++ on RHEL5.3 (Linux)
http://tangentsoft.net/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 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)
2009-12-11 09:27:50
mayfly 2009 (8)
하루살이 2009 (8)2009. 10. 26. Columbus OH가는
Heidegger,
Hesse,
책들 지녔던 날들,
모다
시간의 뒤안길로 사라지고,
소망
없던 삶에
소망
생기므로
축복, 하늘 가득한 축복.
연약한 무릎, 피곤한 마음을 모아
하루를 산다.
U.S.Airways 3258
2009-12-11 09:11:14
Sometimes, dhcp doesn't work
Use the static method in order to modifiy the /etc/network/interfaces
auto eth0
iface eth0 inet static
address aaa.bbb.ccc.ddd
#network aaa.bbb.1.0
gateway aaa.bbb.ccc.1
netmask 000.000.000.000
broadcast aaa.bbb.ccd.000
Must check the if address of a machine which is connected to the same network by
ifconfig and route -n
ifconfig interfaces
inet addr >>> address
Bcast >>> broadcast
route -n
Genmask >>> netmask
Gateway >>> gateway
don't forget to do ifdown and ifup eth0
2009-12-01 17:21:07
network infos for CODA 2.6 installation
check ip and so on of your pc
inet addr:000.000.36.72 Bcast:000.00.39.255 Mask:255.255.252.0
check ip of vxwork ( [VxWorks Boot] p )
000.000.36.42:fffffc00
Since the third entry of Bcast of the PC and the IPs of the PC and the vxworks are different, one must use "fffffc00" as address mask. If one use ffffff00, ROC doesn't work.
2009-10-13 15:18:20
A general CODA file dump program
A program which allows me to look at HEX numbers in the CODA file for personal purpose.
xCodaRead