Toon posts:

KDE 2.1 weigert te compilen

Pagina: 1
Acties:

Verwijderd

Topicstarter
kde 2.1 weigert te compilen omdat deze qt niet kan vinden terwijl die wel degelijk installed is. qt 2.3.0 is installed in /usr/local/qt. xfree86 4.1.0 is installed in /usr/X11R6. beide staan in /etc/ld.so.conf (met /lib erachter ofcoz). ik heb qt installed volgens de instructies in de INSTALL file en de bash env vars staan goed. ik heb geen idee waarom kdesupport-2.1's ./configure qt niet kan vinden. ik gebruik debian 2.2r3 potato met een boel zelf compiled zooi erbij. iemand enig idee?

  • Ronald
  • Registratie: Juli 2000
  • Nu online
mogelijk heeft ./configure van kde een optie in de trand van --qt-dir= of --enable-qt=


check ./configure --help

PV Output - Obdam; SolarEdge SE5K 'Voor korte strings'; 12x350Wp Oost-West 13°; 8x415Wp Zuid 10°; Totaal 7520Wp.


  • frapex
  • Registratie: Januari 2001
  • Laatst online: 14:57

frapex

got r00t

je moet ze in het path zetten...


check je /etc/profile :7

Asus A7N8X-X, AMD XP2400+, 2.5GB Infineon+Samsung DDR333, Radeon x1600 Pro, 2x Fujitsu MAP3735NC 10Krpm SCSI 73GB, Seagate Medalist 17.2GB, LiteOn DVD 16x48x, LiteOn 48x12x48, Promise UDMA100/TX2, Adaptec 2110S Ultra3, 2x EIZO FlexScan (F931 & F930)


  • Ronald
  • Registratie: Juli 2000
  • Nu online
Op zaterdag 23 juni 2001 21:03 schreef frapex het volgende:
je moet ze in het path zetten...


check je /etc/profile :7
in dat geval ook even ~/.bashrc en ~/.bash_profile

PV Output - Obdam; SolarEdge SE5K 'Voor korte strings'; 12x350Wp Oost-West 13°; 8x415Wp Zuid 10°; Totaal 7520Wp.


  • frapex
  • Registratie: Januari 2001
  • Laatst online: 14:57

frapex

got r00t

Op zaterdag 23 juni 2001 21:05 schreef nitenite het volgende:

[..]

in dat geval ook even ~/.bashrc en ~/.bash_profile
hoeft niet.. .bash_profile is voor 1 user, /etc/profile is voor iedereen :P

Asus A7N8X-X, AMD XP2400+, 2.5GB Infineon+Samsung DDR333, Radeon x1600 Pro, 2x Fujitsu MAP3735NC 10Krpm SCSI 73GB, Seagate Medalist 17.2GB, LiteOn DVD 16x48x, LiteOn 48x12x48, Promise UDMA100/TX2, Adaptec 2110S Ultra3, 2x EIZO FlexScan (F931 & F930)


  • Ronald
  • Registratie: Juli 2000
  • Nu online
Ik had een probleem met gnometerm die keek aleen naar .bashrc en niet naar .bash_profile :? verder heb ikzelf geen /etc/profile :)

PV Output - Obdam; SolarEdge SE5K 'Voor korte strings'; 12x350Wp Oost-West 13°; 8x415Wp Zuid 10°; Totaal 7520Wp.


  • oXygeN
  • Registratie: November 1999
  • Laatst online: 14-07 15:13

oXygeN

oftewel oxje...

bij debian werkt nix, behalve als je apt-get blaat doet :P

\o/


  • frapex
  • Registratie: Januari 2001
  • Laatst online: 14:57

frapex

got r00t

<mierenneukermode>
ln -s /etc/profile ~/.bash_profile && ln -s ~/.bash_profile ~/.bashrc
</mierenneukermode>
:D :+ B-) :P

Asus A7N8X-X, AMD XP2400+, 2.5GB Infineon+Samsung DDR333, Radeon x1600 Pro, 2x Fujitsu MAP3735NC 10Krpm SCSI 73GB, Seagate Medalist 17.2GB, LiteOn DVD 16x48x, LiteOn 48x12x48, Promise UDMA100/TX2, Adaptec 2110S Ultra3, 2x EIZO FlexScan (F931 & F930)


  • Ronald
  • Registratie: Juli 2000
  • Nu online
Op zaterdag 23 juni 2001 21:15 schreef frapex het volgende:
<mierenneukermode>
ln -s /etc/profile ~/.bash_profile && ln -s ~/.bash_profile ~/.bashrc
</mierenneukermode>
:D :+ B-) :P
Check :)
ln -s roelt ;P

PV Output - Obdam; SolarEdge SE5K 'Voor korte strings'; 12x350Wp Oost-West 13°; 8x415Wp Zuid 10°; Totaal 7520Wp.


Verwijderd

Topicstarter
/usr/local/qt/bin staat in path like i said
anyway, met

./configure --with-qt-dir=/usr/local/qt --with-qt-includes=/usr/local/qt/include --with-qt-libraries=/usr/local/qt/lib --prefix=/usr/local/kde

wil ie nog niet
en ja qt is goed installed precies volgens instructies in INSTALL

  • frapex
  • Registratie: Januari 2001
  • Laatst online: 14:57

frapex

got r00t

:z

niet /usr/lib/qt/bin maar /usr/lib/qt/lib :P :P :P :P :P
of was het nou /usr/lib/qt :?

(of waar jij het dan geinstalled hebt.. maar: You Get The Point ;) )

anyway.. je moet ook iets in je /etc/ld.so.conf hebben.. maar dat had je geloof ik al... moet je maar even proberen..
het is mij ook (ooit) gelukt :7

Asus A7N8X-X, AMD XP2400+, 2.5GB Infineon+Samsung DDR333, Radeon x1600 Pro, 2x Fujitsu MAP3735NC 10Krpm SCSI 73GB, Seagate Medalist 17.2GB, LiteOn DVD 16x48x, LiteOn 48x12x48, Promise UDMA100/TX2, Adaptec 2110S Ultra3, 2x EIZO FlexScan (F931 & F930)


  • Johannes Verelst
  • Registratie: Februari 2001
  • Laatst online: 14-11-2022
Paste eens een stukje van de output, samen met het onderste stuk van 'config.log', daar hebben we misschien wat aan .. ?

There are no stupid questions, but there are a lot of inquisitive idiots.


Verwijderd

Topicstarter
volgens de qt INSTALL file moet $QTDIR/bin in je path, niet $QTDIR/lib

  • frapex
  • Registratie: Januari 2001
  • Laatst online: 14:57

frapex

got r00t

Op zaterdag 23 juni 2001 21:41 schreef Sleepless het volgende:
volgens de qt INSTALL file moet $QTDIR/bin in je path, niet $QTDIR/lib
ja dat is voor de bin filetjes van QT.. maar jij moet de include spulletjes hebben en die staan weer NIET in het pad :z

Asus A7N8X-X, AMD XP2400+, 2.5GB Infineon+Samsung DDR333, Radeon x1600 Pro, 2x Fujitsu MAP3735NC 10Krpm SCSI 73GB, Seagate Medalist 17.2GB, LiteOn DVD 16x48x, LiteOn 48x12x48, Promise UDMA100/TX2, Adaptec 2110S Ultra3, 2x EIZO FlexScan (F931 & F930)


  • frapex
  • Registratie: Januari 2001
  • Laatst online: 14:57

frapex

got r00t

draai eens "ldconfig"... :z

dat commando hielp mij altijd enorm ;)

en als je dat gedaan hebt config.cache VERWIJDEREN!

Asus A7N8X-X, AMD XP2400+, 2.5GB Infineon+Samsung DDR333, Radeon x1600 Pro, 2x Fujitsu MAP3735NC 10Krpm SCSI 73GB, Seagate Medalist 17.2GB, LiteOn DVD 16x48x, LiteOn 48x12x48, Promise UDMA100/TX2, Adaptec 2110S Ultra3, 2x EIZO FlexScan (F931 & F930)


Verwijderd

Topicstarter
allang gedaan (na elke update van ld.so.conf ofcoz)

  • Johannes Verelst
  • Registratie: Februari 2001
  • Laatst online: 14-11-2022
conftest.C:2: qglobal.h: No such file or directory
conftest.C:3: qapplication.h: No such file or directory
conftest.C:4: qapp.h: No such file or directory
conftest.C:5: qobjcoll.h: No such file or directory
conftest.C:6: qevent.h: No such file or directory
conftest.C:7: qstring.h: No such file or directory
conftest.C:8: qstyle.h: No such file or directory
conftest.C:9: qiconview.h: No such file or directory


tada ...

zorg dat deze (op een of andere manier) in je include-lijstje komen (door --extra-includes of door het goede path in --qt-include-dir) en alles gaat goed (denk ik :) )

There are no stupid questions, but there are a lot of inquisitive idiots.


Verwijderd

Topicstarter
./configure --with-qt-dir=/usr/local/qt --with-qt-includes=/usr/local/qt/include --with-qt-libraries=/usr/local/qt/lib --prefix=/usr/local/kde

werkt ook niet zoals ik hierboven al gepost had

  • Johannes Verelst
  • Registratie: Februari 2001
  • Laatst online: 14-11-2022
en wat geeft 'locate qapplication.h' ??

There are no stupid questions, but there are a lot of inquisitive idiots.


Verwijderd

Topicstarter
dreamwalk:~# locate qapplication.h
/usr/local/qt/doc/html/qapplication.html
/usr/local/qt/include/qapplication.h
/usr/local/qt/src/kernel/qapplication.h
/usr/src/kde/koffice-2.0.1/lib/kscript/kscript_ext_qapplication.h

na een updatedb ofcoz :)

  • Johannes Verelst
  • Registratie: Februari 2001
  • Laatst online: 14-11-2022
g++ -o conftest -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -INO -I/usr/X11R6/include -L/usr/local/qt/lib -L/usr/X11R6/lib conftest.C -lqt -ljpeg -lXext -lX11 -lSM -lICE 1>&5

Ik denk dat je toch een typo hebt gemaakt met je qt-includes, want hij staat niet in de commandline die gebruikt wordt om het qt-test programmaatje te compileren.

There are no stupid questions, but there are a lot of inquisitive idiots.


Verwijderd

Topicstarter
nope geen typos in het configure command
<tab> complete m netjes

  • Johannes Verelst
  • Registratie: Februari 2001
  • Laatst online: 14-11-2022
tab-completion voor './configure'. Wat voor getweakte zsh heb jij zeg? :)

There are no stupid questions, but there are a lot of inquisitive idiots.


Verwijderd

Topicstarter
nee tab completion voor /usr/local/qt/lib en include
en als shell gebruik ik bash 2.03 die std bij debian 2.2r3 zit

  • Johannes Verelst
  • Registratie: Februari 2001
  • Laatst online: 14-11-2022
En je weet ook zeker dat het '--with-qt-includes' is? Ik heb hier de sources niet dus ik kan het niet testen, maar over het algemeen worden niet-herkende (foutief getypte opties) gewoon genegeerd.

Voorbeeldje:
code:
1
2
3
4
5
deepspace:/usr/local/inn-2.2.2 # ./configure --with-johannes
loading cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking for ranlib... (cached) ranlib
CTRL^C

There are no stupid questions, but there are a lot of inquisitive idiots.


Verwijderd

Topicstarter
--with-qt-dir=DIR where the root of Qt is installed
--with-qt-includes=DIR where the Qt includes are.
--with-qt-libraries=DIR where the Qt library is installed.

aldus ./configure --help

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 15:08

deadinspace

The what goes where now?

Je hebt de Qt libs wel heel mooi, maar als je een Qt progsel wilt compilen, heb je wel de Qt development files nodig.

Je hebt libqt-dev toch wel he?

Verwijderd

Topicstarter
libqt-dev??? ik heb bij eerdere versies van qt-x11/kde nooit zoiets compiled en toen ging alles prima. er bestaat ook geen debian package met qt-dev erin, en op de trolltech ftp zie ik ook niets dergelijks

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 15:08

deadinspace

The what goes where now?

Voor de duidelijkheid: je hebt dus wel verschillend spul nodig om programma's te draaien of te compilen. Om programma's te draaien heb je de shared libraries nodig (in jouw geval libqt), en om ze te compilen de development files, zoals de header files (in jouw geval libqt-dev).

marcelm@nothing marcelm$ cat /etc/debian_version
testing/unstable
marcelm@nothing marcelm$ apt-cache show libqt-dev
Package: libqt-dev
Priority: optional
Section: devel
Installed-Size: 10268
Maintainer: Ivan E. Moore II <rkrusty@debian.org>
Architecture: i386
Source: qt-x11
Version: 2:2.3.1-1
Replaces: libqt2-dev, libqt2.1-dev, libqt1g-dev, libqt2.2-dev, qt1g-dev, qt-dev, qt0-dev
Depends: libc6 (>= 2.2.3-1), libpng2(>=1.0.10), libqt2 (>= 2:2.3.1-1), libstdc++2.10-glibc2.2, xlibs (>> 4.0.3), libqutil1 (= 2:2.3.1-1), libqxt0 (= 2:2.3.1-1), uic, xlibs-dev, libmng-dev, libpng2-dev | libpng-dev, libjpeg62-dev | libjpeg-dev, zlib1g-dev | libz-dev, libfreetype6-dev, libc6-dev
Suggests: qt-doc, qt-designer | kde-designer, libqt-mt-dev, tmake
Conflicts: qt0-dev, qt-dev, qt1g-dev, libqt1g-dev, libqt2.1-dev, libqt2.2-dev, libqt2-dev
Filename: pool/main/q/qt-x11/libqt-dev_2.3.1-1_i386.deb
Size: 2907184
MD5sum: a01cf724dc559d8beb3b08e1797902b4
Description: Qt GUI development headers, static libraries
Qt is a complete framework for development of GUI, based on a set of
C++ classes. The header files, and *moc*, Qt's own Meta Object Compiler,
are included as well as a static version of the library.

  • igmar
  • Registratie: April 2000
  • Laatst online: 29-06 18:56

igmar

ISO20022

je moet ze in het path zetten...

check je /etc/profile :7
Zal je weinig helpen.. configure kijkt niet naar paden. Het probleem is vaak niet-standaard dir of het ontbreken van de devel packages.

Verwijderd

Topicstarter
hoe kan ik nou de development files missen als ik qt zelf compiled heb en allemaal .h files heb in de include enzo

anyway ik heb t al opgelost, het probleem was dat qt geen make install heeft en ik de dir verplaatst heb van /usr/src naar /usr/local na compilen, en de include dir alleen maar bestaat uit symlinks, wat me niet eerder opviel omdat ik geen kleuren bij ls aan had staan
Pagina: 1