Archief - Skin install probleempje...

Het archief is een bevroren moment uit een vorige versie van dit forum, met andere regels en andere bazen. Deze posts weerspiegelen op geen enkele manier onze huidige ideeën, waarden of wereldbeelden en zijn op sommige plaatsen gecensureerd wegens ontoelaatbaar. Veel zijn in een andere tijdsgeest gemaakt, al dan niet ironisch - zoals in het ironische subforum Off-Topic - en zouden op dit moment niet meer gepost (mogen) worden. Toch bieden we dit archief nog graag aan als informatiedatabank en naslagwerk. Lees er hier meer over of start een gesprek met anderen.

oxy_be

Legacy Member
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable cc found in $PATH
[root@oxy qnxstyle-0.2]# make
make: *** Geen doelen gespecificeerd en geen makefile gevonden. Stop.
[root@oxy qnxstyle-0.2]# make install
make: *** Geen regel voor het maken van doel `install'. Stop.


Ik denk dat et iets is van een of ander compiler die ik niet heb...
Help?

DaWizard

Legacy Member
oxy_be zei:
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable cc found in $PATH
[root@oxy qnxstyle-0.2]# make
make: *** Geen doelen gespecificeerd en geen makefile gevonden. Stop.
[root@oxy qnxstyle-0.2]# make install
make: *** Geen regel voor het maken van doel `install'. Stop.


Ik denk dat et iets is van een of ander compiler die ik niet heb...
Help?

gcc installen en het is normaal gezien opgelost :D

oxy_be

Legacy Member
[oxy_be@oxy gcc-3.4.0]$ ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[oxy_be@oxy gcc-3.4.0]$

hmmm? help?

owkay er is dus blijkbaar een manual maar die kan ik niet openen wegens dat word crasht (currupte file) en zo heb ik geen word processor om die manual te openen?!?

*sigh*

servi

Legacy Member
je zit in een klassieke catch-22 situatie : je wil gcc compileren, maar daar heb je een gcc-compiler voor nodig :crazy:

de enige manier om gcc geïnstalleerd te krijgen is dan een voorgecompileerde versie te installeren, maar dit hangt af van distro tot distro, dus we moeten je versie idd wel weten.

Tuinslak

Legacy Member
ga naar euh, mandrake manager ofzo ?
"install rpm" of iets dergelijks
zoek gcc, en klik install :)

servi

Legacy Member
ge kunt het ook gewoon via console doen : ( toen ik mandrake gebruikte was er nog geen pakketmanager, nu misschien wel )
download eerst die rpms.

en doe dan dit in console :
#su root
*** geef paswoord ***
#cd /dir_waar_rpms_staan/
#rpm -i naam_van_dat_gcc_pakket.rpm

en klaar is kees :)

oxy_be

Legacy Member
Dank u wel ... (so far)

maar eum

Code:
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 3.0.2) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
[root@oxy qnxstyle-0.2]#
lukt me niet om opgelost te krijgen. Ik heb al qt-x11-free-3.3.2 (de nieuwste versie) afgehaald en volledig kunnen installeren maar toch blijft ie diezelfde foutmelding geven :-s (*vrij frustrerend*)

help?

QplQyer

Legacy Member
post die config.log eens, waarschijnlijk staan uw QT headers ofwel niet geinstalleerd ofwel niet in default path waarin em gaat zoeken.

oxy_be

Legacy Member
hmpf?!?
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = oxy
uname -m = i686
uname -r = 2.6.3-7mdk
uname -s = Linux
uname -v = #1 Wed Mar 17 15:56:42 CET 2004

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin

Deel 1

oxy_be

Legacy Member
hmm dus toch ene manual gevonden hoe ik in feite die gc kan installeren. De eerste stappen lukken ma al aardig maar toch stoot ik op enkele probleempjes nl:

Installing Qt/X11


You may need to be root, depending on the permissions of the directories where you choose to install Qt.


Unpack the archive if you have not done so already:

cd /usr/local
gunzip qt-x11-version.tar.gz # uncompress the archive
tar xf qt-x11-version.tar # unpack it


This creates the directory /usr/local/qt-version containing the files from the main archive.


Rename qt-version to qt (or make a symlink):


mv qt-version qt


The rest of this file assumes that Qt is installed in /usr/local/qt.
so far so good...
Set some environment variables in the file .profile (or .login, depending on your shell) in your home directory. Create the file if it is not there already.

QTDIR -- the directory in which you're building Qt
PATH -- to locate the moc program and other Qt tools
MANPATH -- to access the Qt man pages
LD_LIBRARY_PATH -- for the shared Qt library

This is done like this:


In .profile (if your shell is bash, ksh, zsh or sh), add the following lines:


QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

export QTDIR PATH MANPATH LD_LIBRARY_PATH



In .login (in case your shell is csh or tcsh), add the following lines:


setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
setenv MANPATH $QTDIR/man:$MANPATH
setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH



After you have done this, you will need to login again, or re-source the profile before continuing, so that at least $QTDIR is set. The installation will give an error message and not proceed otherwise.


On AIX set LIBPATH and on HP-UX set SHLIB_PATH instead of LD_LIBRARY_PATH.


Note that the SGI MIPSpro o32 and Sun WorkShop 5.0 targets are no longer supported as of Qt 3.3.


Install your license file as $HOME/.qt-license. For the free edition and evaluation version, you do not need a license file.

Compile the Qt library, and build the example programs, the tutorial and the tools (e.g. Qt Designer) as follows.

Type:

./configure



This will configure the Qt library for your machine. Note that GIF support is turned off by default. Run ./configure -help to get a list of configuration options. Read PLATFORMS for a list of supported platforms.


To create the library and compile all examples and the tutorial:

make

If you have problems, see http://www.trolltech.com/platforms/.

In very few cases you may need to run /sbin/ldconfig or something similar at this point if you are using shared libraries.

If you have problems running the example programs, e.g. messages like

can't load library 'libqt.so.2'

you probably need to put a reference to the qt library in a configuration file and run /sbin/ldconfig as root on your system. And don't forget to set LD_LIBRARY_PATH as explained in 2) above.

The online HTML documentation is installed in /usr/local/qt/doc/html/ The main page is /usr/local/qt/doc/html/index.html. The man pages are installed in /usr/local/qt/doc/man/. The documentation is also accessible using Qt Assistant.

You're done. Qt is now installed.

eh? in mijn home directory kan ik die . toestanden helemaal niet vinden! *iek* help?

QplQyer

Legacy Member
Of tik gewoon in console: pico .profile
als ze nog niet bestaan, gewoon aanmaken maar wel met de juiste naam dus.
Het vitale deel van config.log ontbreekt echter wel, waarschijnlijk is het genoeg van die laatste regels ervan te posten.

oxy_be

Legacy Member
owkay dan maar effe gftp laten werken:)

erm http://oxy.xhaven.net/forum/config.log

Dat zou moeten de file zijn...
En Qt wil dus langs geen kanten installeren. Als ik probeer via rmp's dan zet ie dat hij in gebruik is . Als ik probeer dat pico gedoe ... wel hij zegt dat hij et commando niet herkent (of zo iets :-s )

Nuja thanx...

Tuinslak

Legacy Member
probeer, ipv pico is nano of vi ofzo
is gewoon text editor

voor de rest, dnno, ff geen tijd...
Het archief is een bevroren moment uit een vorige versie van dit forum, met andere regels en andere bazen. Deze posts weerspiegelen op geen enkele manier onze huidige ideeën, waarden of wereldbeelden en zijn op sommige plaatsen gecensureerd wegens ontoelaatbaar. Veel zijn in een andere tijdsgeest gemaakt, al dan niet ironisch - zoals in het ironische subforum Off-Topic - en zouden op dit moment niet meer gepost (mogen) worden. Toch bieden we dit archief nog graag aan als informatiedatabank en naslagwerk. Lees er hier meer over of start een gesprek met anderen.
Terug
Bovenaan