Discussion:
issues with fresh install of qt new version
(too old to reply)
Rajesh M.
2014-10-03 17:31:03 UTC
Permalink
eric

i am trying to install qmailtoaster new version on centos 6.5 64 bit minimal install.

i am facing some issues

i installed all the dependencies correctly

i downloaded the srpms http://mirror1.qmailtoaster.com/current/SRPMS/

i installed in the following sequence

rpmbuild --rebuild --define "dist .qt.el6" daemontools-0.76-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/daemontools-0.76-0.qt.el6.x86_64.rpm

rpmbuild --rebuild --define "dist .qt.el6" ucspi-tcp-0.88-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/ucspi-tcp-0.88-0.qt.el6.x86_64.rpm

rpmbuild --rebuild --define "dist .qt.el6" libvpopmail-5.4.33-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm

yum install libev-devel

rpmbuild --rebuild --define "dist .qt.el6" vpopmail-5.4.33-0.qt.src.rpm

while installing vpopmail i got the following error

gcc -g -O2 -I/usr/include/libvpopmail -pthread -o vusaged.o -c vusaged.c
gcc -g -O2 -I/usr/include/libvpopmail -pthread -o socket.o -c socket.c
socket.c:33:16: error: ev.h: No such file or directory
socket.c:106: error: field 'r_eio' has incomplete type
socket.c:106: error: field 'w_eio' has incomplete type
socket.c:128: error: expected ')' before 'struct'
socket.c:129: error: expected ')' before 'struct'
socket.c:130: error: expected ')' before 'struct'
socket.c:131: error: expected ')' before 'struct'
socket.c: In function 'socket_init':
socket.c:454: warning: assignment makes pointer from integer without a cast
socket.c:462: error: 'socket_accept' undeclared (first use in this function)
socket.c:462: error: (Each undeclared identifier is reported only once
socket.c:462: error: for each function it appears in.)
socket.c:462: error: 'EV_READ' undeclared (first use in this function)
socket.c:465: error: 'socket_timer' undeclared (first use in this function)
socket.c: At top level:
socket.c:673: error: expected ')' before 'struct'
socket.c:786: error: expected ')' before 'struct'
socket.c:881: error: expected ')' before 'struct'
socket.c:952: error: expected ')' before 'struct'
make: *** [socket.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.uPjs3O (%build)

i wish to install all these packages once manually one by one.

rajesh
Eric Shubert
2014-10-03 21:00:55 UTC
Permalink
Post by Rajesh M.
eric
i am trying to install qmailtoaster new version on centos 6.5 64 bit minimal install.
i am facing some issues
i installed all the dependencies correctly
i downloaded the srpms http://mirror1.qmailtoaster.com/current/SRPMS/
i installed in the following sequence
rpmbuild --rebuild --define "dist .qt.el6" daemontools-0.76-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/daemontools-0.76-0.qt.el6.x86_64.rpm
rpmbuild --rebuild --define "dist .qt.el6" ucspi-tcp-0.88-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/ucspi-tcp-0.88-0.qt.el6.x86_64.rpm
rpmbuild --rebuild --define "dist .qt.el6" libvpopmail-5.4.33-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
yum install libev-devel
rpmbuild --rebuild --define "dist .qt.el6" vpopmail-5.4.33-0.qt.src.rpm
while installing vpopmail i got the following error
gcc -g -O2 -I/usr/include/libvpopmail -pthread -o vusaged.o -c vusaged.c
gcc -g -O2 -I/usr/include/libvpopmail -pthread -o socket.o -c socket.c
socket.c:33:16: error: ev.h: No such file or directory
socket.c:106: error: field 'r_eio' has incomplete type
socket.c:106: error: field 'w_eio' has incomplete type
socket.c:128: error: expected ')' before 'struct'
socket.c:129: error: expected ')' before 'struct'
socket.c:130: error: expected ')' before 'struct'
socket.c:131: error: expected ')' before 'struct'
socket.c:454: warning: assignment makes pointer from integer without a cast
socket.c:462: error: 'socket_accept' undeclared (first use in this function)
socket.c:462: error: (Each undeclared identifier is reported only once
socket.c:462: error: for each function it appears in.)
socket.c:462: error: 'EV_READ' undeclared (first use in this function)
socket.c:465: error: 'socket_timer' undeclared (first use in this function)
socket.c:673: error: expected ')' before 'struct'
socket.c:786: error: expected ')' before 'struct'
socket.c:881: error: expected ')' before 'struct'
socket.c:952: error: expected ')' before 'struct'
make: *** [socket.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.uPjs3O (%build)
i wish to install all these packages once manually one by one.
rajesh
---------------------------------------------------------------------
Are you sure you have libev-devel installed? That contains the ev.h
file. Can't imagine why it's not finding ev.h file.

FWIW, the build logs from the stock builds are contained in the repos
along side of their corresponding binary rpms. You might use that for
reference.
--
-Eric 'shubes'


---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-***@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-***@qmailtoaster.com
Loading...