You are not logged in.
Pages: 1
I'm having trouble installing fahmon from aur:
http://aur.archlinux.org/packages.php?d … hans=&SeB=
I do the usual, extract, then makepkg -s
I get these errors after a while:
$ makepkg -s
==> Making package: fahmon 2.3.2-1 (Tue May 20 17:45:51 EDT 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found FahMon-2.3.2.tar.bz2 in build dir
-> Found fahmon.desktop in build dir
==> Validating source files with md5sums...
FahMon-2.3.2.tar.bz2 ... Passed
fahmon.desktop ... Passed
==> Extracting Sources...
-> bsdtar -x -f FahMon-2.3.2.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... 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 wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.8.0... yes (version 2.8.7)
checking for wxWidgets static library... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating README
config.status: creating FahMon.nsi
config.status: creating fahmon.spec
config.status: creating doxconf
config.status: creating doc/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating resources/Makefile
config.status: creating src/Makefile
config.status: creating src/include/Makefile
config.status: creating src/images/Makefile
config.status: creating src/images/icons/Makefile
config.status: creating src/images/icons/16/Makefile
config.status: creating src/images/icons/24/Makefile
config.status: creating src/images/icons/32/Makefile
config.status: creating src/images/icons/48/Makefile
config.status: creating src/images/icons/64/Makefile
config.status: creating src/images/icons/128/Makefile
config.status: creating src/images/icons/256/Makefile
config.status: creating templates/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
make all-recursive
make[1]: Entering directory `/home/patrick/builds/fahmon/src/FahMon-2.3.2'
Making all in m4
make[2]: Entering directory `/home/patrick/builds/fahmon/src/FahMon-2.3.2/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/patrick/builds/fahmon/src/FahMon-2.3.2/m4'
Making all in src
make[2]: Entering directory `/home/patrick/builds/fahmon/src/FahMon-2.3.2/src'
g++ -Wall -Wno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -o fahmon aboutDialog.o base64Codec.o benchmark.o benchmarksDialog.o benchmarksManager.o client.o clientDialog.o clientHelperThread.o clientsManager.o core.o dataInputStream.o dataOutputStream.o eta.o fahlogAnalyzer.o firstTimeDialog.o htmlParser.o httpDownloader.o listViewClients.o main.o mainDialog.o messagesFrame.o messagesManager.o pathManager.o preference.o preferencesDialog.o preferencesManager.o progressManager.o project.o projectHelperThread.o projectsManager.o queue.o staticBoldedText.o tools.o trayManager.o workUnitFrame.o webMonitor.o -pthread -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8
client.o: In function `Client::Reload()':
client.cpp:(.text+0x28d1): undefined reference to `ProjectsManager::Save()'
preferencesDialog.o: In function `PreferencesDialog::OnOkButton(wxCommandEvent&)':
preferencesDialog.cpp:(.text+0x2b52): undefined reference to `PreferencesManager::Save()'
collect2: ld returned 1 exit status
make[2]: *** [fahmon] Error 1
make[2]: Leaving directory `/home/patrick/builds/fahmon/src/FahMon-2.3.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/patrick/builds/fahmon/src/FahMon-2.3.2'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...Someone fixed it for i686, but say it doesn't work in x86_64. I am using x86_64.
Any ideas?
Edit: added full error log
Last edited by Gauvenator (2008-05-20 23:15:27)
Offline
what arch are you trying to build for, i686 or x86_64 and can you post the whole error log please
Offline
what arch are you trying to build for, i686 or x86_64 and can you post the whole error log please
I'm using x86_64. Updated original post for full error log.
Offline
i know pretty much nothing in the c++ arena
but I've made a couple changes in the source,
which i saw as potential flaw
and it builds fine here on i686
hopefully it builds for you
pkgname=fahmon
_realname=FahMon
pkgver=2.3.2
pkgrel=1
pkgdesc="See the progress of your Folding@Home client"
arch=('i686' 'x86_64')
url="http://fahmon.net/"
license=('GPL')
depends=('wxgtk>=2.8' 'glitz')
makedepends=('desktop-file-utils')
install=fahmon.install
options=('!emptydirs')
source=(http://fahmon.net/downloads/${_realname}-${pkgver}.tar.bz2 fahmon.desktop)
md5sums=('ba45cfa2f2386c9ec880981dc27154d8' '97bae4d3b35810de7913eba449b7d692')
build() {
cd ${startdir}/src/${_realname}-${pkgver}
./configure --prefix=/usr
sed -i src/preferencesManager.cpp -e "s/inline void PreferencesManager::Save(void)\
/void PreferencesManager::Save(void)/"
sed -i src/projectsManager.cpp -e "s/inline void ProjectsManager::Save(void)\
/void ProjectsManager::Save(void)/"
make || return 1
make DESTDIR=${startdir}/pkg install
install -Dm644 ${startdir}/src/fahmon.desktop \
${startdir}/pkg/usr/share/applications/fahmon.desktop
install -Dm644 ${startdir}/src/${_realname}-${pkgver}/src/images/dialog_icon.png \
${startdir}/pkg/usr/share/pixmaps/fahmon.png
}Offline
i know pretty much nothing in the c++ arena
but I've made a couple changes in the source,
which i saw as potential flaw
and it builds fine here on i686
hopefully it builds for youpkgname=fahmon _realname=FahMon pkgver=2.3.2 pkgrel=1 pkgdesc="See the progress of your Folding@Home client" arch=('i686' 'x86_64') url="http://fahmon.net/" license=('GPL') depends=('wxgtk>=2.8' 'glitz') makedepends=('desktop-file-utils') install=fahmon.install options=('!emptydirs') source=(http://fahmon.net/downloads/${_realname}-${pkgver}.tar.bz2 fahmon.desktop) md5sums=('ba45cfa2f2386c9ec880981dc27154d8' '97bae4d3b35810de7913eba449b7d692') build() { cd ${startdir}/src/${_realname}-${pkgver} ./configure --prefix=/usr sed -i src/preferencesManager.cpp -e "s/inline void PreferencesManager::Save(void)\ /void PreferencesManager::Save(void)/" sed -i src/projectsManager.cpp -e "s/inline void ProjectsManager::Save(void)\ /void ProjectsManager::Save(void)/" make || return 1 make DESTDIR=${startdir}/pkg install install -Dm644 ${startdir}/src/fahmon.desktop \ ${startdir}/pkg/usr/share/applications/fahmon.desktop install -Dm644 ${startdir}/src/${_realname}-${pkgver}/src/images/dialog_icon.png \ ${startdir}/pkg/usr/share/pixmaps/fahmon.png }
W00T!! Yes that worked perfectly
Thx so much
Do you mind if I post it in the comments for the package on aur?
Last edited by Gauvenator (2008-05-20 23:04:23)
Offline
nope, be my guest
Offline
It even works if you change the pkgver to 2.3.2b (latest version) and comment out the md5sums.
Offline
lol cool;)
Offline
Worked great for me, Thanks ![]()
Offline
Pages: 1