Nove funkcije #20790
Zatvorenhb-hardy-i386.bring.out.ba: harbour i386 hardy sesija: deb checkinstall paketi: harbour 2.1.0, qt-4.6.4
0%
Fajlovi
Povezani tiketi 2 (0 otvoreno — 2 zatvorenih)
Izmjenjeno od Ernad Husremović prije više od 14 godina
na našim serverima se uglavnom vrte i386 openvz sesije sa harbour-om.
napraviti sesiju sa kojom će developer moći koristiti harbour.
Takođe napraviti harbou deb koji će se jednostavn instalirati na druge sesije
Izmjenjeno od Ernad Husremović prije više od 14 godina
- Naslov promijenjeno iz hb-1.bring.out.ba: harbour i386 hardy sesija u hb-hardy-i386.bring.out.ba: harbour i386 hardy sesija
Izmjenjeno od Ernad Husremović prije više od 14 godina
napravio ovaj pxe boot:
label h3v kernel hardy/ubuntu-installer/i386/linux append initrd=hardy/ubuntu-installer/i386/initrd.gz vga=normal DEBCONF_PRIORITY=critical ramdisk_size=16432 root=/dev/rd/0 locale=bs_BA.UTF8 preseed/load_error=error console-setup/ask_detect=false console-setup/layout="Bosnia and Herzegovina" console-setup/variant="Bosnia and Herzegovina" mirror/country="enter information manually" mirror/http/directory=/ubuntu mirror/http/hostname=archive.bring.out.ba mirror/protocol=http netcfg/get_hostname=bringout apt-setup/security_host=archive.bring.out.ba mirror/http/proxy= preseed/url=http://192.168.45.154:3000/preseed-lvm-dhcp.txt -- rw
napravio vbox template hb-hardy-i386-template
Izmjenjeno od Ernad Husremović prije više od 14 godina
bez ikakve intervencije sesija je instalirana. super.
instalacija guest aditions¶
<host> - D shortcut
nakon toga mount radim
root@bringout:~# mount /dev/scd0 /mnt
mount: blok uređaj /dev/scd0 je zaštićen od upisa, prikačiću i dozvoliti samo čitanje
Izmjenjeno od Ernad Husremović prije više od 14 godina
root@bringout:~# cp /mnt/VBoxLinuxAdditions-x86.run . root@bringout:~# chmod +x VBoxLinuxAdditions-x86.run root@bringout:~# umount /mnt
root@bringout:~# apt-get install linux-headers-generic; ./VBoxLinuxAdditions-x86.run
root@bringout:~# ./VBoxLinuxAdditions-x86.run
Verifying archive integrity... All good. Uncompressing VirtualBox 3.2.6 Guest Additions for Linux........ VirtualBox Guest Additions installer Removing installed version 3.2.6 of VirtualBox Guest Additions... Building the VirtualBox Guest Additions kernel modules Your guest system does not seem to have sufficient OpenGL support to enable accelerated 3D effects (this requires Linux 2.6.27 or later in the guest system). This Guest Additions feature will be disabled. Building the main Guest Additions module ...done. Building the shared folder support module ...done. Doing non-kernel setup of the Guest Additions ...done. Starting the VirtualBox Guest Additions ...done. Installing the Window System drivers ...fail! (Could not find the X.Org or XFree86 Window System.)
Izmjenjeno od Ernad Husremović prije više od 14 godina
root@bringout:~# ps ax | grep VBox
15644 ? Sl 0:00 /usr/sbin/VBoxService
Izmjenjeno od Ernad Husremović prije više od 14 godina
root@bringout:~/devel/harbour/harbour# apt-get -y install debhelper binutils build-essential libpq-dev libmysqlclient15-dev libqt4-dev libncurses5-dev libx11-dev libgpmg1-dev libslang2-dev
root@bringout:~/devel# git clone git://gitorious.bring.out.ba/qt/qt.git
na hardiju ne može libqt4 iz repos-a jer je < 4.5
#apt-get remove libqt4-dev; apt-get autoremove
Izmjenjeno od Ernad Husremović prije više od 14 godina
build q4.6¶
povukao iz gitorious-a ovaj branch
root@bringout:~/devel/qt# git branch -l
* 4.6-stable master
za build mi trebaju:
root@bringout:~/devel/qt# apt-get build-dep libqt4-dev
Čitam spiskove paketa... Izvšeno Gradim stablo zavisnosti Čitam informacije o stanju... Izvšeno Slijedeći NOVI paketi će biti instalirani: autoconf automake1.7 autotools-dev cdbs defoma diffstat fdupes flex fontconfig-config intltool libaudio-dev libaudio2 libcupsys2 libcupsys2-dev libdbus-1-dev libdrm2 libexpat1-dev libfontconfig1 libfontconfig1-dev libfreetype6 libfreetype6-dev libgcrypt11-dev libgl1-mesa-dev libgl1-mesa-glx libglib2.0-dev libglu1-mesa libglu1-mesa-dev libglu1-xorg-dev libgnutls-dev libgnutlsxx13 libgpg-error-dev libice-dev libice6 libjpeg62 libjpeg62-dev liblcms1 liblcms1-dev liblzo2-dev libmng-dev libmng1 libopencdk10-dev libsm-dev libsm6 libsqlite0 libsqlite0-dev libsqlite3-dev libtasn1-3-dev libxcursor-dev libxcursor1 libxdamage1 libxext-dev libxext6 libxfixes-dev libxfixes3 libxft-dev libxft2 libxi-dev libxi6 libxinerama-dev libxinerama1 libxmu-dev libxmu-headers libxmu6 libxrandr-dev libxrandr2 libxrender-dev libxrender1 libxt-dev libxt6 libxxf86vm1 m4 mesa-common-dev pkg-config quilt sharutils ttf-dejavu ttf-dejavu-core ttf-dejavu-extra x11proto-fixes-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xlibmesa-gl-dev 0 ažuriranih, 84 novoinstaliranih, 0 za uklanjanje i 0 koji neće biti ažurirani. Moram da dovučem 5032kB/17,1MB arhiva. Nakon ove operacije 51,7MB dodatnog prostora na disku će biti iskorišćeno. Da li želite da nastavite [D/n]? d
Izmjenjeno od Ernad Husremović prije više od 14 godina
root@bringout:~/devel/qt# echo yes | ./configure -opensource
Izmjenjeno od Ernad Husremović prije više od 14 godina
Debug ............... no Qt 3 compatibility .. yes QtDBus module ....... yes (run-time) QtConcurrent code.... yes QtScript module ..... yes QtScriptTools module yes QtXmlPatterns module yes Phonon module ....... no Multimedia module ... yes SVG module .......... yes WebKit module ....... yes JavaScriptCore JIT .. To be decided by JavaScriptCore Declarative module .. no STL support ......... yes PCH support ......... yes MMX/3DNOW/SSE/SSE2.. yes/yes/yes/yes Graphics System ..... default IPv6 support ........ yes IPv6 ifname support . yes getaddrinfo support . yes getifaddrs support .. yes Accessibility ....... yes NIS support ......... yes CUPS support ........ yes Iconv support ....... yes Glib support ........ yes GStreamer support ... no Large File support .. yes GIF support ......... plugin TIFF support ........ plugin (qt) JPEG support ........ plugin (system) PNG support ......... yes (system) MNG support ......... plugin (system) zlib support ........ system Session management .. yes OpenGL support ...... yes (Desktop OpenGL) OpenVG support ...... no NAS sound support ... no XShape support ...... yes XSync support ....... yes Xinerama support .... runtime Xcursor support ..... runtime Xfixes support ...... runtime Xrandr support ...... runtime Xrender support ..... yes Xi support .......... runtime MIT-SHM support ..... yes FontConfig support .. yes XKB Support ......... yes immodule support .... yes GTK theme support ... no MySQL support ....... plugin PostgreSQL support .. plugin SQLite 2 support .... plugin SQLite support ...... plugin (qt) OpenSSL support ..... yes (run-time) Alsa support ........ no
Izmjenjeno od Ernad Husremović prije više od 14 godina
nije da mi ovaj qt treba ... ali hajde de da ga probam buildati
Izmjenjeno od Ernad Husremović prije više od 14 godina
build je trajao cca 5h
build qt_46 paketa¶
root@bringout:~/devel/qt# sudo checkinstall --pkgname "qt_46" --pkgversion "1:4.6.4.bringout`date +%Y%m%d`" --backup=no --default
Izmjenjeno od Ernad Husremović prije više od 14 godina
gpm harbour ispada libgpm2¶
uradio backoprt gpm-a sa lucid-a pa instalirao libgpm2
root@bringout:~/devel/ubuntu# dpkg -i gpm_1.20.4-3.3ubuntu2_i386.deb libgpm-dev_1.20.4-3.3ubuntu2_i386.deb libgpm2_1.20.4-3.3ubuntu2_i386.deb
(Čitam bazu podataka .... 64548 datoteka i direktorija je sada instalirano.) Pripremam se da zamijenim paket gpm verzije 1.20.4-3.3ubuntu2 (koristeći datoteku gpm_1.20.4-3.3ubuntu2_i386.deb) ... Raspakujem zamjenu gpm ... Pripremam se da zamijenim paket libgpm-dev verzije 1.20.4-3.3ubuntu2 (koristeći datoteku libgpm-dev_1.20.4-3.3ubuntu2_i386.deb) ... Raspakujem zamjenu libgpm-dev ... Odabiram paket libgpm2 koji ranije nije bio odabran. Raspakujem libgpm2 (iz datoteke libgpm2_1.20.4-3.3ubuntu2_i386.deb) ... Podešavam paket libgpm2 (1.20.4-3.3ubuntu2)... Podešavam paket gpm (1.20.4-3.3ubuntu2)... Creating config file /etc/gpm.conf with new version * Stopping mouse interface server gpm O0o.oops(): [daemon/check_kill.c(38)]: Could not open /var/run/gpm.pid. [fail] * Starting mouse interface server gpm [ OK ] Podešavam paket libgpm-dev (1.20.4-3.3ubuntu2)... Processing triggers for libc6 ... ldconfig deferred processing now taking place
Izmjenjeno od Ernad Husremović prije više od 14 godina
instalacija gpm1 i gpm2 uporedo --force-all¶
root@bringout:~/devel/ubuntu# dpkg -i --force-all gpm_1.20.4-3.3ubuntu2_i386.deb libgpm-dev_1.20.4-3.3ubuntu2_i386.deb libgpm2_1.20.4-3.3ubuntu2_i386.deb sistem dpkg javlja: obzirom na gpm_1.20.4-3.3ubuntu2_i386.deb koji sadrži gpm: paket gpm je u sukobu sa paketom libgpmg1 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< libgpmg1 (version 1.19.6-25ubuntu1) is present and instalirano. sistem dpkg javlja: upozorenje - ignorišem sukob, nastavak je moguć! (Čitam bazu podataka .... 64532 datoteka i direktorija je sada instalirano.) Raspakujem gpm (iz datoteke gpm_1.20.4-3.3ubuntu2_i386.deb) ... Pripremam se da zamijenim paket libgpm-dev verzije 1.20.4-3.3ubuntu2 (koristeći datoteku libgpm-dev_1.20.4-3.3ubuntu2_i386.deb) ... Raspakujem zamjenu libgpm-dev ... Pripremam se da zamijenim paket libgpm2 verzije 1.20.4-3.3ubuntu2 (koristeći datoteku libgpm2_1.20.4-3.3ubuntu2_i386.deb) ... Raspakujem zamjenu libgpm2 ... Podešavam paket libgpm2 (1.20.4-3.3ubuntu2)... Podešavam paket gpm (1.20.4-3.3ubuntu2)... * Stopping mouse interface server gpm O0o.oops(): [daemon/check_kill.c(38)]: Could not open /var/run/gpm.pid. [fail] * Starting mouse interface server gpm [ OK ] Podešavam paket libgpm-dev (1.20.4-3.3ubuntu2)... Processing triggers for libc6 ... ldconfig deferred processing now taking place
Izmjenjeno od Ernad Husremović prije više od 14 godina
- Fajl gpm-1.20.4-backport.tar.gz gpm-1.20.4-backport.tar.gz dodano
Izmjenjeno od Ernad Husremović prije više od 14 godina
root@bringout:~/devel/harbour/harbour# set | grep HB_
HB_QTPATH=/usr/local/Trolltech/Qt-4.6.4/bin HB_QT_MOC_BIN=/usr/local/Trolltech/Qt-4.6.4/bin/moc HB_WITH_GPM=/usr/include HB_WITH_QT=/usr/local/Trolltech/Qt-4.6.4/include
Izmjenjeno od Ernad Husremović prije više od 14 godina
probao zakucati libgpmg1 od brisanja sa:
root@bringout:~/devel/harbour/harbour# apt-cache policy libgpmg1 libgpmg1: Instalirano:1.19.6-25ubuntu1 Kandidat 1.19.6-25ubuntu1 Pin paketa: 1.19.6-25ubuntu1 Verziona lista *** 1.19.6-25ubuntu1 900 500 http://archive.bring.out.ba hardy/main Packages 100 /var/lib/dpkg/status root@bringout:~/devel/harbour/harbour# cat /etc/apt/preferences Package: libgpmg1 Pin: version 1.19.6* Pin-Priority: 900
ali to ne ide
Izmjenjeno od Ernad Husremović prije više od 14 godina
root@bringout:~/devel/harbour/harbour# apt-get install unixodbc-dev
Izmjenjeno od Ernad Husremović prije više od 14 godina
sqlite3 harbour pravi probleme¶
zato stavio
root@bringout:~/devel/harbour/harbour# export HB_WITH_SQLITE3=external
znači da builda sqlite3 koji se nalazi u harbour tree-u
Izmjenjeno od Ernad Husremović prije više od 14 godina
gpm prevara pokušaj:
root@bringout:~/devel/harbour/harbour/src/rtl# cp /usr/lib/libgpm.so.2 /usr/lib/libgpm.so.1.19.6.orig libgpm.so.2 libgpm.so.2.0.0 root@bringout:~/devel/harbour/harbour/src/rtl# cp /usr/lib/libgpm.so.2.0.0 /usr/lib/libgpm.so.1.19.6
Izmjenjeno od Ernad Husremović prije više od 14 godina
root@bringout:~/devel/harbour/harbour/contrib# ln -s /usr/lib/libgpm.so.2.0.0 /usr/lib/libgpm.so.1 root@bringout:~/devel/harbour/harbour/contrib# sudo ldconfig -v | grep libgpm /sbin/ldconfig.real: Ne mogu da izvršim funkciju stat na /lib64: Ne postoji takva datoteka ili direktorijum libgpm.so.2 -> libgpm.so.2.0.0
Izmjenjeno od Ernad Husremović prije više od 14 godina
odustajem od gpm na hardy-ju¶
kome na konzoli još treba miš :(
root@bringout:~/devel/harbour/harbour# apt-get remove libgpmg1 libgpmg1-dev libgpm-dev
Izmjenjeno od Ernad Husremović prije više od 14 godina
sqlite nisam dobro definisao.
probaću ovako:
root@bringout:~/devel/harbour/harbour# export HB_WITH_SQLITE3=/root/devel/harbour/harbour/external/sqlite3/
Izmjenjeno od Ernad Husremović prije više od 14 godina
harbour bez gpm-a¶
root@bringout:~/devel/harbour/harbour# checkinstall --pkgname "harbour" --pkgversion "1:2.1.0.bringout`date +%Y%m%d`" --backup=no --default
Izmjenjeno od Ernad Husremović prije više od 14 godina
checkinstall-u smeta debian
root@bringout:~/devel/harbour/harbour# mv debian debian.orig
root@bringout:~/devel/harbour/harbour# checkinstall --pkgname "harbour" --pkgversion "1:2.1.0.bringout`date +%Y%m%d`" --backup=no --default
Izmjenjeno od Ernad Husremović prije više od 14 godina
checkinstall čita .spec fajl !!¶
zato ga uklanjam:
root@bringout:~/devel/harbour/harbour# mv harbour.spec ..
root@bringout:~/devel/harbour/harbour# checkinstall --pkgname "harbour" --pkgversion "1:2.1.0.bringout`date +%Y%m%d`" --backup=no --pkggroup=Development --default
Izmjenjeno od Ernad Husremović prije više od 14 godina
qt46 paket - qt-4.6.4¶
root@bringout:~/devel/qt# aptitude show qt46
Paket: qt46 Novo: da Stanje: instalirano Automatski instalirano: da Verzija: 1:4.6.4.bringout20100708-1 Prioritet: extra Sekcija: checkinstall Održavatelj: root@bringout Dekompresovana veličina: 909M Opis: Package created with checkinstall 1.6.1
root@bringout:~/devel/qt# ls -l -h *deb
-rw-r--r-- 1 root root 354M 2010-07-08 19:39 qt46_1:4.6.4.bringout20100708-1_i386.deb
Izmjenjeno od Ernad Husremović prije više od 14 godina
napokon harbour.deb
********************************************************************** Done. The new package has been installed and saved to /root/devel/harbour/harbour/harbour_1:2.1.0.bringout20100708-1_i386.deb You can remove it from your system anytime using: dpkg -r harbour **********************************************************************
Izmjenjeno od Ernad Husremović prije više od 14 godina
fin harbour build radi¶
evo čak fin build radi
root@bringout:~/devel/fmk/fin# rake
... Generating C source output to '/tmp/hbmk_ig5l13.dir/rpt_ostali.c'... Done. end fin ================================================================================
napomena: uzeo sam fmk.git - harbour-hernad branch, ali sam morao .git/config ručno štimati da bi ispravan checkout napravio
root@bringout:~/devel/fmk# cat .git/config
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = git://gitorious.bring.out.ba/fmk/fmk.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [branch "harbour"] remote = origin merge = refs/heads/harbour [submodule "fin"] url = git://gitorious.bring.out.ba/~hernad/fmk/hernads-fin.git [submodule "fmk_lib"] url = git://gitorious.bring.out.ba/~hernad/fmk/hernads-fmk_lib.git ;[submodule "srv_fmk"] ; url = git://gitorious.bring.out.ba/fmk/srv_fmk.git [branch "harbour-hernad"] remote = origin merge = refs/heads/harbour-hernad [submodule "fmk_common"] url = git://gitorious.bring.out.ba/~hernad/fmk/hernads-fmk_common.git [submodule "scripts"] url = git://gitorious.bring.out.ba/fmk/scripts.git
Izmjenjeno od Ernad Husremović prije više od 14 godina
- Naslov promijenjeno iz hb-hardy-i386.bring.out.ba: harbour i386 hardy sesija u hb-hardy-i386.bring.out.ba: harbour i386 hardy sesija: deb checkinstall paketi: harbour 2.1.0, qt-4.6.4
Izmjenjeno od Ernad Husremović prije više od 14 godina
šta kad pokrenemo fin ?¶
root@bringout:~/devel/fmk/fin# ./fin
./fin: error while loading shared libraries: libharbourmt.so: cannot open shared object file: No such file or directory
root@bringout:~/devel/fmk/fin# ls /usr/local/lib/harbour
libbz2.a libhbbz2.a libhbhpdf.a libhbodbc.a libhbsqlit3.a liblibhpdf.a libgtcgi.a libhbcomm.a libhbhsx.a libhbpcre.a libhbssl.a libminizip.a libgtcrs.a libhbcommon.a libhblang.a libhbpgsql.a libhbtip.a librddcdx.a libgtpca.a libhbcpage.a libhbmacro.a libhbpp.a libhbtipssl.a librddfpt.a libgtsln.a libhbcplr.a libhbmemio.a libhbqt.a libhbtpathy.a librddnsx.a libharbourmt.so libhbfship.a libhbnortl.a libhbsix.a libhbxpp.a libsddsqlt3.a
ovo je ona verzija sa netio dbf library-jem:
export LD_LIBRARY_PATH=/usr/local/lib/harbour¶
root@bringout:~/devel/fmk/fin# export LD_LIBRARY_PATH=/usr/local/lib/harbour
root@bringout:~/devel/fmk/fin# ./fin
setujem engine (bringout_fmk_start) setujem default engine ...DBFCDX CONNECTING... NETIO_CONNECT(): root@bringout:~/devel/fmk/fin# ./fin
Izmjenjeno od Ernad Husremović prije oko 14 godina
- Status promijenjeno iz Dodijeljeno u Zatvoreno