Help - Search - Members - Calendar
Full Version: Vyqchat
Linuxhelp > Support > Technical Support
borky
I've tried to install a clone of vypress chat, vyQchat.I need this kind of program because most of my friends on my lan use the windows version and i need a program so i can talk to them.I've tried to install this program but without any luck.When I do ./configure a get this error messaje:
" Checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output... configure: error: C++ compiler cannot create executables
See `config.log' for more details. "
I use mandrake 10.1
hughesjr
You need to install gcc and gcc++ (and probably automake and autoconf) on your linux distro to compile programs. What is your distro (and version) of linux.
borky
I use mandrake 10.1.Any ideea where i could get g++?I spend all day tring to ge this program to work, i got gcc-3.4.1-4mdk.i586.rpm gcc-3.4.1-4mdk.src.rpm gcc-cpp-3.4.1-4mdk.i586.rpm
but when i try to put them they all call for each each other in some kind of circle of dependinces:
Error: Failed dependencies:
gcc-cpp = 3.4.1-4mdk is needed by gcc-3.4.1-4mdk
RESULT=1
and
st '//home/borky/gcc-cpp-3.4.1-4mdk.i586.rpm';echo RESULT=$?
warning: //home/borky/gcc-cpp-3.4.1-4mdk.i586.rpm: V3 DSA signature: NOKEY, key ID 70771ff3
error: Failed dependencies:
gcc-cpp = 3.4.1-3mdk is needed by (installed) gcc-3.4.1-3mdk
RESULT=1
hughesjr
try the command:

urpmi gcc gcc-cpp
borky
I tryed that and it said that everything is already installed
george1971
Hi !

I use Mandrake 10.0.
I heave the same problem, even if i've already installed gcc and gcc-cpp from the distro CD's.
I'll apreciate any help.

George
hughesjr
strange ... what happens if you type:

which gcc

or

which c++

(as root)
george1971
Hi hughesjr !

Thank you for your reply.

I tryed that and it said something like this :

[root@localhost george]# which gcc
/usr/bin/gcc
[root@localhost george]# which c++
which: no c++ in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin)
[root@localhost george]#

George
borky
root@localhost borky]# which gcc
/usr/bin/gcc
[root@localhost borky]# which c++
which: no c++ in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin)
[root@localhost borky]#
I got the same;btw you know how can I add another place for urpmi to look into,for example i found out this site from which i have sime high speed on download,how do i make urpmi to look into it (the site is :ftp://ftp.lug.ro/mandrake/devel/devel/10.1/SRPMS/main
i tried something like urpmi.addmedia lug ftp://ftp.lug.ro/mandrake/devel/devel/10.1/SRPMS/main
and this is what happened
[root@localhost borky]# urpmi.addmedia depenet ftp://ftp.lug.ro/mandrake/devel/
devel/10.1/SRPMS/main
added medium depenet
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 3 (x86
) (cdrom3).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 1 (x86
) (cdrom1).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 2 (x86
) (cdrom2).cz]
retrieving source hdlist (or synthesis) of "depenet"...
ftp://ftp.lug.ro/mandrake/devel/devel/10....nfo/synthesis.h
dlist.cz

...retrieving failed: curl: (19) Given file does not exist
ftp://ftp.lug.ro/mandrake/devel/devel/10....ynthesis.hdlist
_.cz

...retrieving failed: curl: (9) Couldn't cd to media_info
ftp://ftp.lug.ro/mandrake/devel/devel/10....hesis.hdlist.cz

...retrieving failed: curl: (19) Given file does not exist
ftp://ftp.lug.ro/mandrake/devel/devel/10...._info/hdlist.cz

...retrieving failed: curl: (19) Given file does not exist
ftp://ftp.lug.ro/mandrake/devel/devel/10....info/hdlist_.cz

...retrieving failed: curl: (9) Couldn't cd to media_info
ftp://ftp.lug.ro/mandrake/devel/devel/10..../main/hdlist.cz

...retrieving failed: curl: (19) Given file does not exist
retrieval of source hdlist (or synthesis) failed
no hdlist file found for medium "depenet"
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.depenet.cz]
problem reading synthesis file of medium "depenet"
unable to update medium "depenet"
borky
if it helps.......,i tried to install verlihub and i get the same error:
[root@localhost verlihub-0.9.8b]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
and after some digging:
root@localhost verlihub-0.9.8b]# urpmi gcc gcc-cpp
Everything already installed
[root@localhost verlihub-0.9.8b]# g++
bash: g++: command not found
[root@localhost verlihub-0.9.8b]# c++
bash: c++: command not found
[root@localhost verlihub-0.9.8b]# whereis c++
c++: /usr/include/c++
[root@localhost verlihub-0.9.8b]# whereis gcc
gcc: /usr/bin/gcc /usr/bin/gcc3.4-version /usr/lib/gcc /usr/share/man/man1/gcc.1.bz2
[root@localhost verlihub-0.9.8b]# whereis g++
g++:
[root@localhost verlihub-0.9.8b]#
hughesjr
rpm -qa | grep gcc

Result should be:
libgcc1-3.3.2-6mdk
gcc-cpp-3.3.2-6mdk
gcc-c++-3.3.2-6mdk
gcc-3.3.2-6mdk


If not do:

urpmi gcc gcc-cpp gcc-c++

After install is completed, rpm -qa | grep gcc should show the above 4 packages.

The you should be able to do:

which gcc c++ g++

You should get:

/usr/bin/gcc
/usr/bin/c++
/usr/bin/g++
george1971
Hi hughesjr !

Thank you again for your reply.

I feel like I am very close to solve the issue.

I have followed your instructions, and hear is the result :
[george@localhost george]$ which gcc c++ g++
/usr/bin/gcc
/usr/bin/c++
/usr/bin/g++

Then I tryed to install vyqchat, but still there are some problems :

[root@localhost vyqchat-0.2.6]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for stdlib.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether gcc needs -traditional... no
checking for vprintf... yes
checking for _doprnt... no
checking for gethostname... yes
checking for inet_ntoa... yes
checking for socket... yes
checking for fork... yes
checking for pkg-config... /usr/bin/pkg-config
checking for sndfile >= 1.0.5... Package sndfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `sndfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sndfile' found
configure: WARNING: "Disabling build-in sound support"
checking for X... no
checking for Qt... ls: /lib/libqt*: No such file or directory
/usr/lib/libqthreads.so.12 /usr/lib/libqtmcop.la /usr/lib/libqtmcop.so.1.0.0 /usr/lib/libqtnotfier.so.3
/usr/lib/libqthreads.so.12.3.0 /usr/lib/libqtmcop.so.1 /usr/lib/libqtnotfier.la /usr/lib/libqtnotfier.so.3.1.7
no
configure: error: "Qt library is required to compile VyQChat!"
[root@localhost vyqchat-0.2.6]#

Please note that Ihave already installed package libsndfile1-1.0.5-4mdk :

[root@localhost vyqchat]# rpm -i libsndfile1-1.0.5-4mdk.i586.rpm
warning: libsndfile1-1.0.5-4mdk.i586.rpm: V3 DSA signature: NOKEY, key ID 26752624
package libsndfile1-1.0.5-4mdk is already installed
[root@localhost vyqchat]#

Thank you for understanding.

George
rusco
Hi there, i'm having a similar problem.

I did

urpmi gcc gcc-cpp gcc-c++

and got

no package named gcc-c++

The rest are installed, but i need c++ and g++

can you offer any help?
george1971
Hi there !

I have finaly installed vyqchat !!

Probably, it was the Qt library missing. So I have installed it from the distro CD's (package libqt3-devel-3.2.3-17mdk).
After that,

[root@localhost vyqchat-0.2.6]# rpm -qa | grep qt
qt3-common-3.2.3-17mdk
libqt3-3.2.3-17mdk
libqt3-devel-3.2.3-17mdk

and

./configure
make
make install

Then, it works !

But I still have that problem with sndfile (that I have already installed).

I'll apreciate any ideas.

George
borky
well...
lroot@localhost borky]# rpm -qa | grep gcc
libgcc1-3.4.1-3mdk
gcc-cpp-3.4.1-3mdk
gcc-3.4.1-3mdk
gcc2.96-cpp-2.96-0.83mdk
[root@localhost borky]# urpmi gcc-c++
no package named gcc-c++
[root@localhost borky]#
and
[borky@localhost borky]$ rpm -ivh gcc-c++-3.4.1-4mdk.i586.rpm
error: Failed dependencies:
gcc = 3.4.1-4mdk is needed by gcc-c++-3.4.1-4mdk
I installed gcc without dependencies and it work....i mean i got another step but now:
root@localhost borky]# rpm -ivh libqt3-devel-3.3.3-26mdk.i586.rpm
warning: libqt3-devel-3.3.3-26mdk.i586.rpm: V3 DSA signature: NOKEY, key ID 70771ff3
error: Failed dependencies:
libqt3 = 3.3.3-26mdk is needed by libqt3-devel-3.3.3-26mdk
XFree86-devel is needed by libqt3-devel-3.3.3-26mdk
devel(libICE) is needed by libqt3-devel-3.3.3-26mdk
devel(libSM) is needed by libqt3-devel-3.3.3-26mdk
devel(libX11) is needed by libqt3-devel-3.3.3-26mdk
devel(libXcursor) is needed by libqt3-devel-3.3.3-26mdk
devel(libXext) is needed by libqt3-devel-3.3.3-26mdk
devel(libXft) is needed by libqt3-devel-3.3.3-26mdk
devel(libXinerama) is needed by libqt3-devel-3.3.3-26mdk
devel(libXrandr) is needed by libqt3-devel-3.3.3-26mdk
devel(libXrender) is needed by libqt3-devel-3.3.3-26mdk
devel(libXt) is needed by libqt3-devel-3.3.3-26mdk
devel(libaudio) is needed by libqt3-devel-3.3.3-26mdk
devel(libexpat) is needed by libqt3-devel-3.3.3-26mdk
devel(libfontconfig) is needed by libqt3-devel-3.3.3-26mdk
devel(libfreetype) is needed by libqt3-devel-3.3.3-26mdk
devel(libjpeg) is needed by libqt3-devel-3.3.3-26mdk
devel(liblcms) is needed by libqt3-devel-3.3.3-26mdk
devel(libmng) is needed by libqt3-devel-3.3.3-26mdk
devel(libpng) is needed by libqt3-devel-3.3.3-26mdk
what shoud i do?look for all of them and install by hand?
And also:
[root@localhost borky]# rpm -qa | grep qt
libqt3-3.3.3-23mdk
qt3-common-3.3.3-23mdk

I am very confused.....
hughesjr
instead of installing the packages manually (you have gcc-3.4.1-3 but you are trying to install gcc-c++-3.4.1-4 ... which isn't a match) ...... I recommend that you configure the urpmi and use it to update your system and resolve your dependnacies ... see this thread.

Once you get everything installed and updated ... do:

urpmi gcc-c++
borky
Well,that urpmi trick did it.After setting the addresses in urpmi and installing Qt library I finally could install vyqchat.Thanks a lot hughesjr and all others who tried to help me.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.