This is the error... QHacc headers not found! If you have installed QHacc in an unusual place, please use the "--with-qhacc-includes=" option make: *** No targets specified and no makefile found. Stop. !!! ERROR: app-office/khacc-1.7.2 failed. !!! Function kde_src_compile, Line 123, Exitcode 2 !!! died running emake, kde_src_compile:make The location the qhacc.ebuild put the headers is /usr/include Not sure how to edit the khacc ebuild... how does that work when inherited?
I see the same here. Seems to be a problem in the ebuild, because if I add src_compile() { myconf="$myconf --with-qhacc-includes=/usr/include --with-qhacc-libs=/usr/lib" kde_src_compile } to the ebuild, the configure-script works, but then I get more errors during compiling: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp qhaccgraphpainters.cpp: In member function `virtual void QHaccPiePainter::isetData()': qhaccgraphpainters.cpp:125: error: `XSACCTID' is not a member of type `QC' qhaccreportwriter.cpp: In static member function `static QString QHaccReportWriter::makereport(int, QHacc*, unsigned int, QHaccTable*, const QDate&, const QDate&, QHaccTable*&)': qhaccreportwriter.cpp:79: error: `XCOLTYPES' is not a member of type `QC' qhaccreportwriter.cpp:79: error: `XCOLNAMES' is not a member of type `QC' qhaccreportwriter.cpp:79: error: `XCOLS' is not a member of type `QC' qhaccreportwriter.cpp:79: error: `XSID' is not a member of type `QC' qhaccreportwriter.cpp:85: error: `XTDATE' is not a member of type `QC' qhaccreportwriter.cpp:86: error: `XTDATE' is not a member of type `QC' qhaccreportwriter.cpp:88: error: `XTLID' is not a member of type `QC'qhaccgraphpainters.cpp:125: error: `XTPAYEE' is not a member of type `QC' ...
For the web site: http://qhacc.sourceforge.net/ 1) There was compile problems 2) khacc/qhacc seem to be released together thus a strong possiblity different minor version might clash 3) latest versions, as of 2004-02-15, are QHacc 2.9.8 and KHacc 1.7.8 4) both compiled from default settings and KHacc works; it has a problem with locale thou so only works from a terminal Suggestion is to add both as unstable.
Created attachment 26911 [details] qhacc-2.9.8.ebuild based on previous ebuild, removed patches
Created attachment 26912 [details] khacc-1.7.8.ebuild still complains about dirs so added them manual made explictly dependant on qhacc-2.9.8 since they are released together.
Since I am still new to this, I would like someone to "proof" the ebuilds. FYI to anyone building this two errors I encountered 1) A KLocale warning on start up. This is related to Title being blank in the configuration setup. 2) Could be my setup but I could not launch either through "Run Command" or the given shortcut. Yet, I could start khacc through Konsole, Konqueror, or my own shortcut. Go figure. :)
I have now added the two new ebuilds to the CVS, thank you! Please try the new ebuilds and tell me if they work. For the two issues you saw: 1. You may report a bug to the autors of the applications, as it seemst that this is not caused by the Gentoo-Packaging. 2. If I follow the suggestion that the ebuild prints out: "Copy the files in /etc/qhacc to ~/.qhacc, You have to run this program with the command: qhacc -f ~/.qhacc/" also for khacc, it works for me.
I can confirm it grabs from sourceforge and compiles on a mostly stable System uname: 2.4.25_pre6-gss i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.4.3.13 CFLAGS="-mcpu=athlon-xp -O3 -pipe" with & without xml (forget the flag) with mysql As for 1) was just warning people already reported the bug As for 2) it is part of the start up script 'khacc --gui' also works Concerning 2) I added basically the same message that qhacc has to the khacc build. I still think like a newbie sometimes and it is not obvious unless you think like a programmer and realize khacc uses the same data files as qhacc. I have made note of this to the programmer.
Created attachment 26970 [details] khacc-1.7.8.ebuild w/warning message Same build as before with a postinst message matching qhacc, feel free to re-edit
I have added the einfo to the ebuild.