From: Armin B. <arm...@de...> - 2005-11-09 04:08:19
|
Zachary C. Whitley wrote: > I've built the rpms and posted them to > > http://www.zacharywhitley.com/opensync > > multisync, libopensync-plugin-palm, and libopensync-plugin-kde haven't > been built yet because of build errors. > > ==>libopensync-plugin-palm > > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/opensync-1.0 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -Wall -Werror -O2 -g -pipe > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 > -fasynchronous-unwind-tables -MT palm_sync.lo -MD -MP > -MF .deps/palm_sync.Tpo -c palm_sync.c -fPIC -DPIC -o .libs/palm_sync.o > cc1: warnings being treated as errors > palm_sync.c: In function 'psyncTodoCommit': > palm_sync.c:886: warning: ignoring return value of 'sscanf', declared > with attribute warn_unused_result > palm_sync.c:951: warning: ignoring return value of 'sscanf', declared > with attribute warn_unused_result > palm_sync.c: In function 'psyncContactCommit': > palm_sync.c:1117: warning: ignoring return value of 'sscanf', declared > with attribute warn_unused_result > palm_sync.c:1193: warning: ignoring return value of 'sscanf', declared > with attribute warn_unused_result > palm_sync.c: In function 'psyncEventCommit': > palm_sync.c:1357: warning: ignoring return value of 'sscanf', declared > with attribute warn_unused_result > palm_sync.c:1423: warning: ignoring return value of 'sscanf', declared > with attribute warn_unused_result > make[2]: *** [palm_sync.lo] Error 1 > make[2]: Leaving directory > `/usr/src/redhat/BUILD/libopensync-plugin-palm-0.18/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/usr/src/redhat/BUILD/libopensync-plugin-palm-0.18' > make: *** [all] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.36689 (%build) > ah. didnt know that ignoring sscanf returns gives errors with some compilers. i fixed this in my code and will test it tomorrow. then ill make an updated release of the palm-plugin. > > ==>libopensync-plugin-kde > > checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and > libraries) not found. Please check your installation! > For more details about this problem, look at the end of config.log. > error: Bad exit status from /var/tmp/rpm-tmp.1259 (%build) > does a normal make of the plugin succeed? is it possible to get more information why it couldnt find the qt libs? (maybe from config.log?) > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.1259 (%build) > > qt-devel package is installed. > > # rpm -qa | grep -i qt > qt-devel-3.3.4-17.4.fc4.kde > qt-3.3.4-17.4.fc4.kde > > > The libs in fc4 are in /usr/lib/qt-3.3/ > > ==>multisync > > Making all in synce_sync > make[2]: Entering directory > `/usr/src/redhat/BUILD/multisync-0.90.18/gui/synce_sync' > make[2]: *** No rule to make target `all'. Stop. > make[2]: Leaving directory > `/usr/src/redhat/BUILD/multisync-0.90.18/gui/synce_sync' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/redhat/BUILD/multisync-0.90.18/gui' > make: *** [all] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.88934 (%build) > the problem is that the gui/ directory is a completely separate source directory (with its own configure etc). they also belong into different packages with different dependencies. I am now going to split the source into the -cli version and the -gui version (the stuff thats currently in gui/). Can anyone help me with making the rpm building work then? Armin > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.88934 (%build) > > |