You are not logged in.
-> Downloading wbar-1.3.3.tbz2...
--2008-03-31 13:12:22-- http://freshmeat.net/redir/wbar/66660/u … 1.3.3.tbz2
Resolving freshmeat.net... 66.35.250.168
Connecting to freshmeat.net|66.35.250.168|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.tecapli.com.ar/warlock/wbar-1.3.3.tbz2 [following]
--2008-03-31 13:12:24-- http://www.tecapli.com.ar/warlock/wbar-1.3.3.tbz2
Resolving www.tecapli.com.ar... 190.15.195.143
Connecting to www.tecapli.com.ar|190.15.195.143|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 429098 (419K) [text/plain]
Saving to: `wbar-1.3.3.tbz2'
100%[=======================================>] 429,098 107K/s in 4.1s
2008-03-31 13:12:29 (102 KB/s) - `wbar-1.3.3.tbz2' saved [429098/429098]
==> Validating source files with md5sums...
wbar-1.3.3.tbz2 ... Passed
==> Extracting Sources...
-> bsdtar -x -f wbar-1.3.3.tbz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
g++ `imlib2-config --cflags` -Wall -O2 -c -o XWin.o XWin.cc
XWin.cc: In constructor 'XWin::XWin(int, int, int, int)':
XWin.cc:33: warning: deprecated conversion from string constant to 'char*'
XWin.cc:33: warning: deprecated conversion from string constant to 'char*'
g++ `imlib2-config --cflags` -Wall -O2 -c -o Icon.o Icon.cc
g++ `imlib2-config --cflags` -Wall -O2 -c -o Bar.o Bar.cc
g++ `imlib2-config --cflags` -Wall -O2 -c -o IconLoader.o IconLoader.cc
IconLoader.cc: In constructor 'IconLoader::IconLoader(const char*)':
IconLoader.cc:20: error: 'getenv' was not declared in this scope
make: *** [IconLoader.o] Error 1
==> ERROR: Build Failed.
Aborting...
[code@obnoxious wbar]$
Anybody have idea ?
Offline
Patch the file IconLoader by including a line
#include <cstdlib>
and try again.
Offline
IconLoader.cc IconLoader.h IconLoader.o from src ??
Necessary to include this in which of these?
tnks
Offline
Thank you Stefan...
Im including <cstdlib> in IncoLoader.cc and SuperBar.cc
Perfect!
Offline
Sorry, I wanted to say IconLoader.cc. But putting it into IconLoader.h may also work.
If you put the line into the source directly, it would probably overwritten withe the next makepkg call. Try to make a patch.
To do so you can copy (not move) the file IconLoader.cc from <where_it_is> to $startdir and do a
cd $startdir
diff <where_it_is>/IconLoader.cc IconLoader.cc > IconLoader.cc.patch
Add IconLoader.cc.patch to the source array of your PKGBUILD and put a line like
patch <where_it_is>/IconLoader.cc IconLoader.cc.patch
between the .configure line and the make line. Updating md5sums would be nice, but not necessary in the first step.
Offline
I'm having the same problem.
Could someone just update the pkgbuild? Or, post a exact howto.
I have no idea what you are talking out. Patch what with what. I thought a patch is part of a file. Where is this file?
Thanks
brncmp
Offline
I've updated the pkgbuild in aur.
Offline