Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: vyqchat qt problem na debian stable r3


  • Subject: Re: lug-bg: vyqchat qt problem na debian stable r3
  • From: Viktor Vasilev <viktor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Sun, 28 Nov 2004 19:59:06 +0100

Привет,

On Sat, Nov 27, 2004 at 11:44:03PM +0200, Ivan Adams wrote:
> Zdraveite,
> celta mi e da podkaram vyqchat ili kakvato i da e druga programa s cel
> chat prez broadcasta, zashtoto ako mi umre interneta da ne se
> razkarvam nasam natam ami da pitam kakvo stava ...
> 
> S debian woody 3.0 r3 sam sam stignal do seldnata situaciq mucheiki se
> da podkaram vyqchat 0.2.6
> 
> sled ./configure stiga do
> checking for Qt... ls: /lib/libqt*: No such file or directory
> /usr/lib/libqt-mt.so        /usr/lib/libqt.so.2.3.1
> /usr/lib/libqt-mt.so.3      /usr/lib/libqt.so.3
> /usr/lib/libqt-mt.so.3.0    /usr/lib/libqt.so.3.0
> /usr/lib/libqt-mt.so.3.0.3  /usr/lib/libqt.so.3.0.3
> /usr/lib/libqt.so           /usr/lib/libqtmcop.la
> /usr/lib/libqt.so.2         /usr/lib/libqtmcop.so.0
> /usr/lib/libqt.so.2.3       /usr/lib/libqtmcop.so.0.0.0
> yes:
>     QT_CXXFLAGS=-I/usr/include/qt
>     QT_DIR=
>     QT_LIBS=-l/usr/lib -l  -lSM -lICE  -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi
              ^^^^^^^^^^ ^^
Това определено е грешно. Опция -lfoobar казва на линкъра да търси символи
в билиотека foobar. Опция -L/some/path указва на линкъра да търси библиотеки
и в папка /some/path.

>     QT_UIC=/usr/bin/uic
>     QT_MOC=/usr/bin/moc
> checking correct functioning of Qt installation... failure
> configure: error: Failed to find matching components of a complete
>                   Qt installation. Try using more options,
>                   see ./configure --help.
> 
> 
> V READMETO pishe:
> 2. Requirements
> 
> To compile this program you need:
> gcc C++ compiler
> make
> Qt 3.x library (make sure you have developement package installed, too)
> XFree-libs developement package
> 
> dpkg -l | grep qt3
> ii  libqt3         3.0.3-20020329 Qt GUI Library (runtime version).
> ii  libqt3-dev     3.0.3-20020329 Qt GUI development files
> ii  libqt3-mt      3.0.3-20020329 Qt GUI Library (Threaded runtime version).
> ii  libqt3-mt-dev  3.0.3-20020329 Qt Threaded development files
> ii  qt3-tools      3.0.3-20020329 Qt GUI Designer and other Qt3 based tools
> 
> v config.log faila pishe:
> configure:6392: checking correct functioning of Qt installation
> configure:6426: /usr/bin/moc bnv_qt_test.h -o moc_bnv_qt_test.c
> >/dev/null 2>bnv_qt_test_1.out
> configure:6429: $? = 0
> configure:6438: g++ -I/usr/include/qt -c -g -O2 -o moc_bnv_qt_test.o
> moc_bnv_qt_test.c >/dev/null 2>bnv_qt_test_2.out
> configure:6441: $? = 0
> configure:6450: g++ -I/usr/include/qt -c -g -O2 -o bnv_qt_main.o
> bnv_qt_main.c >/dev/null 2>bnv_qt_test_3.out
> configure:6453: $? = 0
> configure:6462: g++ -l/usr/lib -l  -lSM -lICE  -L/usr/X11R6/lib -lX11
> -lXext -lXmu -lXt -lXi   -o bnv_qt_main bnv_qt_main.o
> moc_bnv_qt_test.o $
> configure:6465: $? = 1
> /usr/bin/ld: cannot find -l/usr/lib

Логично. Библиотека с това име не съществува. Можеш прегледаш скрипта
configure и да поправиш -l/usr/lib на -L/usr/lib.

[muchos snipos]

autoconf/automake rock the boat :)


Поздрави,
Вик
-- 
Linux is for those who hate Windows.
FreeBSD is for those who love UNIX.
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.