Re: Problema para instalar programa
Daniel Angel wrote:
Parece como si no tuvieras las cabeceras de qt, pero el compilador te
lo devería de advertir. Miré en mi /usr/include y mi librería se llama
qt3. Puedes probar esto:
Como root:
$> cd /usr/include/
$> ln -s qt3 qt
Vuelve a hacer lo que hicieras y luego:
$> cd /usr/include/
$> rm qt
para dejar las cosas como estaban.
Yo tal y como está mi debian haría esto a ver que tal va.
Saludos!!:
Si, tenias razon en buena parte y ahora ya no obtuve una larga cadena de
errores -despues de aplicar tu consejo-, sino mas bien apenas estas
pocas lineas:
root /opt/Simikon-0.0.8# ./configure.unix
/* ------------------------------------------- */
/* Configuration script for compiling SiMiKON. */
/* Copyright (c) 2000 Alen Kovac. */
/* ------------------------------------------- */
Checking for tmake... ok
Creating Makefiles...
root.pro
src.pro
simikon.pro
widgets.pro
STabCtl.pro
type make to build SiMiKON
root /opt/Simikon-0.0.8# make check
make: *** No hay ninguna regla para construir el objetivo `check'. Alto.
root /opt/Simikon-0.0.8# make
for i in src; do ( if [ -d $i ]; then cd $i ; pro=`basename $i`.pro ;
tmake $pro -o Makefile; grep "TEMPLATE.*subdirs" $pro 2>/dev/null
>/dev/null && make -f Makefile tmake_all || true; fi; ) ; done
make[1]: Entering directory `/home/opt/Simikon-0.0.8/src'
for i in widgets simikon; do ( if [ -d $i ]; then cd $i ; pro=`basename
$i`.pro ; tmake $pro -o Makefile; grep "TEMPLATE.*subdirs" $pro
2>/dev/null >/dev/null && make -f Makefile tmake_all || true; fi; ) ; done
make[2]: Entering directory `/home/opt/Simikon-0.0.8/src/widgets'
for i in STabCtl; do ( if [ -d $i ]; then cd $i ; pro=`basename $i`.pro
; tmake $pro -o Makefile; grep "TEMPLATE.*subdirs" $pro 2>/dev/null
>/dev/null && make -f Makefile tmake_all || true; fi; ) ; done
make[2]: Leaving directory `/home/opt/Simikon-0.0.8/src/widgets'
make[1]: Leaving directory `/home/opt/Simikon-0.0.8/src'
cd src; make
make[1]: Entering directory `/home/opt/Simikon-0.0.8/src'
for i in widgets simikon; do ( if [ -d $i ]; then cd $i ; pro=`basename
$i`.pro ; tmake $pro -o Makefile; grep "TEMPLATE.*subdirs" $pro
2>/dev/null >/dev/null && make -f Makefile tmake_all || true; fi; ) ; done
make[2]: Entering directory `/home/opt/Simikon-0.0.8/src/widgets'
for i in STabCtl; do ( if [ -d $i ]; then cd $i ; pro=`basename $i`.pro
; tmake $pro -o Makefile; grep "TEMPLATE.*subdirs" $pro 2>/dev/null
>/dev/null && make -f Makefile tmake_all || true; fi; ) ; done
make[2]: Leaving directory `/home/opt/Simikon-0.0.8/src/widgets'
cd widgets; make
make[2]: Entering directory `/home/opt/Simikon-0.0.8/src/widgets'
for i in STabCtl; do ( if [ -d $i ]; then cd $i ; pro=`basename $i`.pro
; tmake $pro -o Makefile; grep "TEMPLATE.*subdirs" $pro 2>/dev/null
>/dev/null && make -f Makefile tmake_all || true; fi; ) ; done
cd STabCtl; make
make[3]: Entering directory `/home/opt/Simikon-0.0.8/src/widgets/STabCtl'
g++ -c -pipe -Wall -W -g -I/usr/include/qt -o obj/stabbar.o stabbar.cpp
In file included from stabbar.cpp:8:
stabbar.h:44: error: la declaración friend requiere una llave de clase, p.e.
`friend struct BarPainter'
stabbar.h:119: error: la declaración friend requiere una llave de clase,
p.e.
`friend class STabBar'
make[3]: *** [obj/stabbar.o] Error 1
make[3]: Leaving directory `/home/opt/Simikon-0.0.8/src/widgets/STabCtl'
make[2]: *** [STabCtl] Error 2
make[2]: Leaving directory `/home/opt/Simikon-0.0.8/src/widgets'
make[1]: *** [widgets] Error 2
make[1]: Leaving directory `/home/opt/Simikon-0.0.8/src'
make: *** [src] Error 2
--------------------
Por lo que puedo apreciar, quizas hay un problema con la declaracion de
variables, que quizas se arrastre de algun cambio en el *estilo* de
compilacion del 'viejo' g++ + qt vs el 'nuevo' g++ + qt3... (esto solo
es producto de mi imaginacion)...
Que se puede hacer para corregir/cambiar esto?
Saludos.
PD: De todas formas si esto es un error a causa del paquete en si...
alguien me ayudaria a confeccionar el informa de bug/error para
enviarselo a los desarrolladores? (mi ingles es muy triste)
Reply to: