You are not logged in.
Can somebody create a PKGBUILD for Auto House II?
It's a nice tool for anyone who runs his own car repair shop. Would be great!
Homepage: http://www.autohouse-european.com/ah2
Thanks!
Offline
Wow, seems like a great program. Great suggestion.
Offline
# Contributor: Christoph Siegenthaler <csi>
pkgname=autohouse2
pkgver=0.20
pkgrel=1
pkgdesc="Autohouse II is a database application for maintaining invoice/repair records of customers and their vehicles"
url="http://www.autohouse-european.com/ah2"
depends=('postgresql')
source=(ftp://ftp.linuxlots.com/pub/$pkgname/ah2-$pkgver.tar.gz)
md5sums=('e26dd68583326251b0552487a27b8b65')
build() {
cd $startdir/src/ah2-$pkgver
qmake ah2.pro
make || return 1
make prefix=$startdir/pkg/usr install
}
damn, tried to build it but it has compile time errors.
Output:
<snip>
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/CustVehcTable.o CustVehcTable.cpp
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/VehcTable.o VehcTable.cpp
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/WOPartsForm.o WOPartsForm.cpp
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/WOPartsTable.o WOPartsTable.cpp
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/WOLaborForm.o WOLaborForm.cpp
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/WOLaborTable.o WOLaborTable.cpp
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/AcctSelect.o AcctSelect.cpp
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/VendorSelect.o VendorSelect.cpp
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/VendorForm.o VendorForm.cpp
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/VendorTable.o VendorTable.cpp
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/PartsForm.o PartsForm.cpp
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/PartsTable.o PartsTable.cpp
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/Part2VendorTable.o Part2VendorTable.cpp
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/DataXML.o Data/DataXML.cpp
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
/opt/qt/bin/uic InvoiceWindow.ui -i InvoiceWindow.h -o .ui/InvoiceWindow.cpp
g++ -c -pipe -Wall -W -march=i686 -O2 -pipe -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/linux-g++ -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/InvoiceWindow.o .ui/InvoiceWindow.cpp
.ui/InvoiceWindow.cpp:29:22: error: custform.h: No such file or directory
.ui/InvoiceWindow.cpp:30:22: error: vehcform.h: No such file or directory
.ui/InvoiceWindow.cpp:31:27: error: workorderform.h: No such file or directory
/opt/qt/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
make: *** [.obj/InvoiceWindow.o] Error 1
==> ERROR: Build Failed. Aborting...
Could anyone try to build this? Not that I own a car repair shop - I was just trying to "give something back to the OSS community"
Cheers Sigi
Haven't been here in a while. Still rocking Arch.
Offline
That's exactly how far I got.
I don't know what the problem is. I did what they said on the Hompage but it won't compile....
Maybe somebody else has an idea about this....
Offline
I didn't try to compile it, but read the error output:
look at the file ui/InvoiceWindow.cpp.
There must be some #include to custform.h, vehcform.h and workform.h
Look where those files are and fix the path (or add the include path in the makefile)
Offline
A new version 0.22 is now out:
0.22 05/17/06
Fixed build problem.
Modified movetransactions to make it more friendly.
Let's hope this solves the issues.
Offline
Unfortunately it doesn't. I'm in contact with the developer to find a solution for the problem. So I guess we have to wait for another bugfix-release....
Offline
Have tried to compile it also - no luck here either...
edit: small typo
Haven't been here in a while. Still rocking Arch.
Offline
FYI - A new version 0.24 is now out:
0.24 05/20/06
Additional fixes for build on machines other than mine
Does this help?
Offline
Hi, another version has been released, does this bring us any closer?
Offline
Hi!
I've been working on it with the developer and it seems that this version works. Some strange error messages still appear at the end of the build process but all of the are going to be ignored. I've tested a PKGBUILD and it seems to work. Only when uninstalling the package, only the entry in the pacman database will be removed, but the program files will stay on the system. Does anyone have an Idea about it?
Unfortunately my computer is currently broken, so I cannot post the PKGBUILD which I have. But as soon as the spare part I need is here I can fix the motherboard and post the PKGBUILD.
I think I'll have my machine fixed by the end of the week, so you don't have to wait too much longer.... ;-)
BYE!
Offline
Make sure that all the files are installed to
$startdir/pkg
and not directly into your system. Build the package as user instead of root!
Cheers Sigi
Haven't been here in a while. Still rocking Arch.
Offline
Hi!
Finally after fixing my computer here's the PKGBUILD for the program. Or at least a start... ;-)
I still have the problem, that uninstalling the package won't delete the folders and their contents.... anyway, here it is:
# Contributor: Back2Cali
pkgname=autohouse2
pkgver=0.25
pkgrel=1
pkgdesc="Autohouse II is a database application for maintaining invoice/repair records of customers and their vehicles"
url="http://www.autohouse-european.com/ah2"
depends=('postgresql')
source=(ftp://ftp.linuxlots.com/pub/$pkgname/ah2-$pkgver.tar.gz)
md5sums=('fb4b75ff0260c3281fe2c2a5221203f8')build() {
cd $startdir/src/ah2-$pkgver
qmake ah2.pro
make || return 1
make prefix=$startdir/pkg/usr install
}
Don't forget to check out the manual. It describes how to set up the database and stuff. Read it before you start ah2 for the first time! Some things are needed to be set up befor first start...
BYE
Christian
Offline
You packages doesn't uninstall because your PKGBUILD installs the files directly on your system:
cp -f "ah2" "/usr/bin/ah2"
cp: cannot create regular file `/usr/bin/ah2': Permission denied
make: [install_target] Error 1 (ignored)
strip "/usr/bin/ah2"
strip: '/usr/bin/ah2': No such file
mkdir: cannot create directory `/opt/ah2': Permission denied
make: *** [install_reports] Error 1
==> ERROR: Build Failed. Aborting...
That's one reason for always building packages as a regular user. Here's the fixed PKGBUILD. I've made other minor fix: use /opt/kde instead of /opt/kde3 and I put the perl module in a more appropriate place. I haven't tried it. Let me know if there's a problem:
# Contributor: Back2Cali
pkgname=autohouse2
pkgver=0.25
pkgrel=1
pkgdesc="Autohouse II is a database application for maintaining invoice/repair records of customers and their vehicles"
url="http://www.autohouse-european.com/ah2"
depends=('postgresql')
source=(ftp://ftp.linuxlots.com/pub/$pkgname/ah2-$pkgver.tar.gz)
md5sums=('fb4b75ff0260c3281fe2c2a5221203f8')
build() {
cd $startdir/src/ah2-$pkgver
qmake ah2.pro
make || return 1
make INSTALL_ROOT=$startdir/pkg install
mv $startdir/pkg/opt/kde3 $startdir/pkg/opt/kde
mkdir -p $startdir/pkg/usr/lib/perl5/site_perl/current/
mv $startdir/pkg/usr/lib/perl5/site_perl/Reports.pm $startdir/pkg/usr/lib/perl5/site_perl/current/
}
Offline
Make sure that all the files are installed to
$startdir/pkg
and not directly into your system. Build the package as user instead of root!
Cheers Sigi
Does anyone read my posts? LOL
Haven't been here in a while. Still rocking Arch.
Offline