-march=x86-64 -mtune=generic ; generic is i686!
I just wanted to add that the arch packages and makepkg.conf on arch64 uses c(xx)flags that state to use x86-64 instruction sets, but tune for i686!
i686 means e.g. half the registers and no sse/sse2 support enabled, besides the half bandwith of the registers!
I hope I understand the gcc docs right when they say that "Moreover, specifying -march=cpu-type implies -mtune=cpu-type.", as then the -mtune flag is just redundant, but i'm not entirelly sure that I understand that right, since e.g. Slackware32 and Zenwalk uses i484 and i686 tuning and VectorLinux uses i586 and i686 tuning, so maybe the gcc statement means that -march only implies -mtune, if not -mtune is added specifically in addition to the -march ?
OK, Thanks!
Sorry, but if I can just come with one final closing argument; I know it's the same as i've said before, but I will just cut it out in cardboard now, or so to speak...
Under the -mtune option there's listed a bunch of cpu-types and cpu-families,but they are all called cpu-type in the man, no matter if they are a cpu-family: "The choices for cpu-type are"...
Now under generic it's stated that if you don't know what cpu end users are using, then this should be used, but keep in mind that all the available choises that can be entered after -mtune are called cpu-type in the man, including e.g. i585, i686 and X86-64, even though they are cpu-families and hence imho generic isn't right for our choise where we do know the cpu-familly!
In short, they are saying that if you don't can use ANY of the available -mtune cpu-type/familly valyes, then generic is the way to go!
Now if we still use it, then it's stated to be for common i686 and x86-64 cpu's + under i686 it's stated to be the same as generic.
This means that if using -mtune generic without an -march, then the code will be using i386 instruction set, but tuned for best schedulling on common i686/x86-64 cpu's.
But, if additionally adding an -march in addition to the -mtune, then you override the i386 instruction set code with another value, like e.g. i686 or whatever, but nowhere does it state that you imposses or losses the restriction on the -mtune value, which is for scheduling and not instruction set and abi!...
-mtune are for processor scedulling without taking instruction sets into equation, whereas -march are specifically for instruction sets and abi, and i cannot find any place where it's stated that -mtune uses the -march value as minimum cpu schedulling-type. Instead there says that -march equals -mtune, but we then override that with adding another specific -mtune value!
I would like that we ditch -mtune, since that equals the same -mtune as our -march!.
Now if i thought that generic in our case would equal different x86-64 cpu's and no i686 cpu's, i would also think that it would be fine, but i just don't think that based on the spec(man).
Sorry for blabbing on, but i just wanted to explain myself so as to ppl dosen't just think that i'm an idiot, but that i've actually given it some thought also...
I'll shut up now, as i haven't got any new arguments...
Last edited by mhertz (2010-11-30 09:22:35)
Similar Messages
-
I've had "-mtune=generic" in my makepkg.conf file since I upgraded GCC a few weeks ago. Why? Because I read it is a good idea. I really don't understand the scope of it. Now today with my newest Pacman upgrade, it mentions adding "-mtune=native". So here's my question:
What do these things do and should they be run together?
Hmmm. I guess my question answered itself. Generic is for if you plan to share your builds, and native is for your own local builds. Correct?
Last edited by skottish (2007-06-05 01:21:53)Yeah, the GCC docs are a bit unclear about this part in my opinion. I've been doing some research about this too, and I've found some reactions from people who are certain this is added automatically as well as people telling you still have to add it your own. So I can't really help you on this. The only thing I can say is I add the -msse and -m3dnow (I have an athlon XP) flag because I'm not sure the -mtune=native flag is adding it by default and either way it's not bad to add it yourself.
But if someone could give a clear explanation it would be nice, I do understand skottish's questions about it being somewhat unclear -
X86 libs on x64 using --arch=i686 installes to /usr/lib
Hi. I have x64, and need some x86 libs.
I thought running "pacman -S --arch=i686 somelib" would just install files in /usr/lib32, but it seems it installs directly to /usr/lib.
Of course, this is creating quite some problems as programs picks up 32-bit libraries.
I'm afraid to restart my computes until I've fixed this.
Any tips on how I can revert this?
And how I can make "--arch=i686" install to /usr/lib32 by default? (or any other way to handle this)slint wrote:The arch flag is useful when you want to install something on a different system (for example a chroot). Normally you would handle this by installing the lib from multilib, but you can also create a dedicated 32 bit arch chroot.
Oh..
slint wrote:If you didn't overwrite any libraries from other packages (shouldn't if you haven't used -f) a simple pacman -R should be engough I guess.
I didn't use "-f", but it seems pacman overwrote symlinks anyway.
With -R, it complains that other packages relies on this, even though those packages relies on the x64 packages.
"pacman -R -v --debug --arch=i686 somelib" doesn't give me confidence that it won't break my system if I drop checking for dependencies - not a single place are i686 referenced even though I specified --arch with -R. -
Cannot build conky 1.8.2 (abs)
[doctor@doctor abs]$ abs extra/conky
==> Starting ABS sync...
receiving file list ... done
extra/
extra/conky/
extra/conky/PKGBUILD
extra/conky/PKGBUILD.cmake
sent 124 bytes received 2993 bytes 890.57 bytes/sec
total size is 2759 speedup is 0.89
[doctor@doctor abs]$ cp ~/Desktop/PKGBUILD /var/abs/extra/conky/PKGBUILD
[doctor@doctor abs]$ cd extra/conky/
[doctor@doctor conky]$ makepkg
==> Making package: conky 1.8.2git20111107-1 (Tue Dec 20 13:58:28 EET 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading conky-1.8.2git20111107.tar.xz...
--2011-12-20 13:58:28-- ftp://ftp.archlinux.org/other/conky/conky-1.8.2git20111107.tar.xz
=> `conky-1.8.2git20111107.tar.xz.part'
Resolving ftp.archlinux.org... 209.85.41.143, 209.85.41.144
Connecting to ftp.archlinux.org|209.85.41.143|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /other/conky ... done.
==> SIZE conky-1.8.2git20111107.tar.xz ... 244616
==> PASV ... done. ==> RETR conky-1.8.2git20111107.tar.xz ... done.
Length: 244616 (239K) (unauthoritative)
100%[========================================================================================================================================================>] 244,616 54.1K/s in 4.5s
2011-12-20 13:58:36 (52.8 KB/s) - `conky-1.8.2git20111107.tar.xz.part' saved [244616]
==> Validating source files with sha1sums...
conky-1.8.2git20111107.tar.xz ... Passed
==> Extracting Sources...
-> Extracting conky-1.8.2git20111107.tar.xz with bsdtar
==> Starting build()...
Running aclocal -I m4 ...
Running libtoolize --force --copy ...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
Running autoheader ...
Running automake --add-missing --copy --gnu ...
configure.ac:37: installing `./compile'
configure.ac:33: installing `./config.guess'
configure.ac:33: installing `./config.sub'
configure.ac:17: installing `./install-sh'
configure.ac:17: installing `./missing'
lua/Makefile.am: installing `./depcomp'
Running autoconf ...
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 gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
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 for style of include used by make... GNU
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 a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether gcc and cc understand -c and -o together... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.19... yes
checking for fopencookie... yes
checking for funopen... no
checking for X11... yes
checking for LUA... yes
checking for cairo... yes
checking for cairo_xlib... yes
checking for tolua++... tolua++
checking for library containing tolua_error... -ltolua++
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for Xext... yes
checking for XDamage... yes
checking for Xft... yes
checking for libcurl... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for sys/stat.h... (cached) yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for sys/mount.h... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for calloc... yes
checking for malloc... yes
checking for free... yes
checking for popen... yes
checking for sysinfo... yes
checking for getloadavg... yes
checking for memrchr... yes
checking for strndup... yes
checking for gethostbyname_r... yes
checking for library containing clock_gettime... -lrt
checking for struct statfs.f_fstypename... no
checking for db2x_xsltproc... db2x_xsltproc
checking for db2x_manxml... db2x_manxml
checking for xsltproc... xsltproc
checking if /usr/bin/ld -m elf_x86_64 accepts -O1... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/build.h
config.status: creating lua/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
conky 1.8.2_preNONE configured successfully:
Installing into: /usr
System config dir: /etc
C compiler flags: -I/usr/include/freetype2 -Wall -W
Libraries: -lX11 -llua -lm -ltolua++ -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lXext -lXdamage -lXfixes -lXft -lcurl -lrt -ltolua++ -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
Linker flags: -Wl,-O1
* X11:
X11 support: yes
XDamage support: yes
XDBE support: yes
Xft support: yes
ARGB support yes
* Music detection:
Audacious: no
BMPx: no
MPD: no
MOC: no
XMMS2: no
* General:
math: no
hddtemp: yes
portmon: no
RSS: no
Curl: yes
Weather
METAR: no
XOAP: no
wireless: no
IBM: no
nvidia: no
eve-online: no
config-output: yes
Imlib2: no
ALSA mixer: no
apcupsd: yes
I/O stats: yes
ncurses: no
* Lua (yes) bindings:
Cairo: yes
Imlib2: no
Making all in src
make[1]: Entering directory `/var/abs/extra/conky/src/conky-1.8.2git20111107/src'
sh ./../text2c.sh ./../data/conky.conf defconfig.h defconfig
make all-am
make[2]: Entering directory `/var/abs/extra/conky/src/conky-1.8.2git20111107/src'
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-conf_cookie.o -MD -MP -MF .deps/conky-conf_cookie.Tpo -c -o conky-conf_cookie.o `test -f 'conf_cookie.c' || echo './'`conf_cookie.c
mv -f .deps/conky-conf_cookie.Tpo .deps/conky-conf_cookie.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-linux.o -MD -MP -MF .deps/conky-linux.Tpo -c -o conky-linux.o `test -f 'linux.c' || echo './'`linux.c
linux.c: In function ‘get_battery_stuff’:
linux.c:1908:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘get_acpi_ac_adapter’:
linux.c:1405:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘get_acpi_fan’:
linux.c:1329:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘update_load_average’:
linux.c:825:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘update_threads’:
linux.c:592:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘update_net_stats’:
linux.c:364:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
linux.c:365:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘update_gateway_info’:
linux.c:288:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘get_ioscheduler’:
linux.c:230:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘get_laptop_mode’:
linux.c:208:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘update_uptime’:
linux.c:126:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘is_disk’:
linux.c:2311:18: warning: ‘dev_last’ may be used uninitialized in this function [-Wuninitialized]
mv -f .deps/conky-linux.Tpo .deps/conky-linux.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-users.o -MD -MP -MF .deps/conky-users.Tpo -c -o conky-users.o `test -f 'users.c' || echo './'`users.c
mv -f .deps/conky-users.Tpo .deps/conky-users.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-sony.o -MD -MP -MF .deps/conky-sony.Tpo -c -o conky-sony.o `test -f 'sony.c' || echo './'`sony.c
mv -f .deps/conky-sony.Tpo .deps/conky-sony.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-i8k.o -MD -MP -MF .deps/conky-i8k.Tpo -c -o conky-i8k.o `test -f 'i8k.c' || echo './'`i8k.c
mv -f .deps/conky-i8k.Tpo .deps/conky-i8k.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-x11.o -MD -MP -MF .deps/conky-x11.Tpo -c -o conky-x11.o `test -f 'x11.c' || echo './'`x11.c
mv -f .deps/conky-x11.Tpo .deps/conky-x11.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-fonts.o -MD -MP -MF .deps/conky-fonts.Tpo -c -o conky-fonts.o `test -f 'fonts.c' || echo './'`fonts.c
mv -f .deps/conky-fonts.Tpo .deps/conky-fonts.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-hddtemp.o -MD -MP -MF .deps/conky-hddtemp.Tpo -c -o conky-hddtemp.o `test -f 'hddtemp.c' || echo './'`hddtemp.c
mv -f .deps/conky-hddtemp.Tpo .deps/conky-hddtemp.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-ccurl_thread.o -MD -MP -MF .deps/conky-ccurl_thread.Tpo -c -o conky-ccurl_thread.o `test -f 'ccurl_thread.c' || echo './'`ccurl_thread.c
mv -f .deps/conky-ccurl_thread.Tpo .deps/conky-ccurl_thread.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-llua.o -MD -MP -MF .deps/conky-llua.Tpo -c -o conky-llua.o `test -f 'llua.c' || echo './'`llua.c
mv -f .deps/conky-llua.Tpo .deps/conky-llua.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-apcupsd.o -MD -MP -MF .deps/conky-apcupsd.Tpo -c -o conky-apcupsd.o `test -f 'apcupsd.c' || echo './'`apcupsd.c
apcupsd.c: In function ‘update_apcupsd’:
apcupsd.c:219:7: warning: ‘sock’ may be used uninitialized in this function [-Wuninitialized]
mv -f .deps/conky-apcupsd.Tpo .deps/conky-apcupsd.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-iconv_tools.o -MD -MP -MF .deps/conky-iconv_tools.Tpo -c -o conky-iconv_tools.o `test -f 'iconv_tools.c' || echo './'`iconv_tools.c
mv -f .deps/conky-iconv_tools.Tpo .deps/conky-iconv_tools.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-colours.o -MD -MP -MF .deps/conky-colours.Tpo -c -o conky-colours.o `test -f 'colours.c' || echo './'`colours.c
mv -f .deps/conky-colours.Tpo .deps/conky-colours.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-combine.o -MD -MP -MF .deps/conky-combine.Tpo -c -o conky-combine.o `test -f 'combine.c' || echo './'`combine.c
mv -f .deps/conky-combine.Tpo .deps/conky-combine.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-common.o -MD -MP -MF .deps/conky-common.Tpo -c -o conky-common.o `test -f 'common.c' || echo './'`common.c
mv -f .deps/conky-common.Tpo .deps/conky-common.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-conky.o -MD -MP -MF .deps/conky-conky.Tpo -c -o conky-conky.o `test -f 'conky.c' || echo './'`conky.c
conky.c: In function ‘generate_text_internal’:
conky.c:887:7: error: unknown type name ‘bool’
conky.c:887:28: error: ‘false’ undeclared (first use in this function)
conky.c:887:28: note: each undeclared identifier is reported only once for each function it appears in
conky.c:892:17: error: ‘true’ undeclared (first use in this function)
conky.c:742:19: warning: variable ‘needed’ set but not used [-Wunused-but-set-variable]
conky.c: In function ‘draw_each_line_inner’:
conky.c:2827:6: warning: variable ‘last_special_needed’ set but not used [-Wunused-but-set-variable]
make[2]: *** [conky-conky.o] Error 1
make[2]: Leaving directory `/var/abs/extra/conky/src/conky-1.8.2git20111107/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/abs/extra/conky/src/conky-1.8.2git20111107/src'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
My PKGBUILD is
# $Id: PKGBUILD 142242 2011-11-07 05:35:59Z bisson $
# Contributor: Giovanni Scafora <[email protected]>
# Contributor: James Rayner <[email protected]>
# Contributor: Partha Chowdhury <[email protected]>
# Maintainer: Gaetan Bisson <[email protected]>
pkgname=conky
pkgver=1.8.2git20111107
pkgrel=1
pkgdesc='Lightweight system monitor for X'
url='http://conky.sourceforge.net/'
license=('BSD' 'GPL')
arch=('i686' 'x86_64')
options=('!emptydirs')
makedepends=('pkg-config' 'docbook2x')
depends=('alsa-lib' 'libxml2' 'curl' 'libxft' 'glib2' 'libxdamage' 'imlib2')
backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf')
source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha1sums=('133fc6fdc725162af9a98c72c1b7349efc22447c')
# git clone git://git.omp.am/conky.git; cd conky; git archive --prefix=${pkgname}-${pkgver}/ origin/1.8.2 | xz > ../${pkgname}-${pkgver}.tar.xz
replaces=('torsmo')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sh autogen.sh
CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-ibm \
--enable-curl \
--enable-lua \
--enable-lua-cairo \
--disable-ncurses \
--disable-math --disable-mpd --disable-moc --disable-xmms2 \
--disable-weather-xoap --disable-portmon --disable-alsa
make
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"Does it still segment fault without a .conkyrc?
Also FWIW, heres my conky settings:
# Use Xft?
use_xft yes
xftfont mono:size=9
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent no
own_window_type override
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 1280 0
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 0
# border margins
border_margin 0
# border width
border_width 0
# Default colors and also border colors
default_color white
color2 1994D1
default_shade_color black
default_outline_color 3c3c3c
own_window_colour 3c3c3c
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
gap_y 3
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
TEXT -
[UNSOLVED] qt4-gnome-globalmenu-git
I am trying to compile a plugin that should make gnome-globalmenu work with qt apps. It should be fairly simple, the source tree only holds 3 files. I am however, sadly so incompetent that I can't work out what to do with my own improvised PKGBUILD to make it compile:
#Maintainer Anders Honoré <b9anders AT gmail DOT com>
pkgname=qt4-gnome-globalmenu-git
pkgver=20111022
pkgrel=1
pkgdesc="An extention to make the menus for QT apps show on the Gnome global menu bar."
url="https://gitorious.org/firefox-gnome-globalmenu/qt4-gnome-globalmenu"
license="GPL"
arch=('i686' 'x86_64')
depends=('gnome-globalmenu-xfce4' 'qt-appmenu' 'appmenu-qt')
makedepends=('git' 'qt-private-headers')
_gitroot='git://gitorious.org/firefox-gnome-globalmenu/qt4-gnome-globalmenu.git'
_gitname='qt4-gnome-globalmenu'
optdepends=()
options=()
conflicts=()
provides=('qt4-gnome-globalmenu-git')
replaces=()
install=
source=()
md5sums=()
build() {
cd $startdir/src
msg "Connecting to GIT server...."
if [ -d $startdir/src/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
cd $_gitname
fi
msg "GIT checkout done or server timeout"
qmake
make
package() {
make DESTDIR=$pkgdir PREFIX=/usr install
Obviously something is missing at the end of it here, but I don't know enough about compiling stuff to say what.
Last edited by b9anders (2011-10-22 14:54:23)Snowman wrote:
to compile:
qmake
make
thanks for replying. I added the following to the end of the PKGBUILD above:
msg "GIT checkout done or server timeout"
qmake
make
package() {
make DESTDIR=$pkgdir PREFIX=/usr install
And changed the dependencies after pursuing some error messages:
depends=('gnome-globalmenu-xfce4' 'qt-appmenu' 'appmenu-qt')
makedepends=('git' 'qt-private-headers')
and ran makepkg -s (I updated the PKGBUILD in the OP to reflect the changes). The output is more than before but it doesn't get very far before exiting:
g++ -c -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -o qx11menubarimpl.o qx11menubarimpl.cpp
In file included from qx11menubarimpl.cpp:10:0:
qx11menubarimpl.h:9:54: fatal error: QtGui/private/qabstractplatformmenubar_p.h: No such file or directory
compilation terminated.
make: *** [qx11menubarimpl.o] Error 1
The only hits google recognises for "QtGui/private/qabstractplatformmenubar_p.h" are for a package Fedora names 'libqt4-private-dev' and Ubuntu's 'qt-devel-private'. From what I can it tell, qt-private-headers should be the corresponding package in Arch (and is included in the dependencies for that reason) but I can find no trace of the missing file in my system after having installed it.
Kinda stuck from here. :-/
Last edited by b9anders (2011-10-22 14:55:32) -
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)kumico wrote:
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
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) -
Problem compiling code blocks [SOLVED]
It fails when I try to compile it:
Error:
libtool: link: cannot find the library `' or unhandled argument `blocks/src/codeblocks-8.02/src/src/wxAUI'
make[3]: *** [codeblocks] Error 1
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
Aborting...
PKGBUILD
# Contributor: Robert Hollencamp <[email protected]>
# Contributor: Daniel J Griffiths <[email protected]>
# Maintainer: Stefan Husmann <[email protected]>
pkgname=codeblocks
pkgver=8.02
pkgrel=7
pkgdesc="An open source and cross-platform C/C++ IDE"
arch=('i686' 'x86_64')
url="http://www.codeblocks.org"
license=('GPL3')
depends=('wxgtk' 'bzip2')
makedepends=('zip')
options=('!libtool')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2)
md5sums=('ac15b4b3de50d7650c2f7a8dbcb30f88')
build() {
cd $pkgname-$pkgver || return 1
./configure --prefix=/usr --with-contrib-plugins=all || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
rm $pkgdir/usr/share/$pkgname/plugins/*.la
I really don´t have a clue on what is wrong?
Last edited by neuwerld (2009-05-07 10:51:27)I have already installed the wxgtk package.
More build output:
==> Making package: codeblocks 8.02-7 x86_64 (Thu May 7 12:09:46 CEST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found codeblocks-8.02-src.tar.bz2 in build dir
==> Validating source files with md5sums...
codeblocks-8.02-src.tar.bz2 ... Passed
==> Extracting Sources...
-> bsdtar -x -f codeblocks-8.02-src.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
/bin/sh: /home/neuwerld/Desktop/code: No such file or directory
configure: WARNING: `missing' script is too old or missing
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 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 how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working volatile... yes
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for getcwd... yes
checking for isascii... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for dlopen in -ldl... yes
checking for pthread_create in -lpthread... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for library containing gzopen... -lz
checking for library containing BZ2_bzopen... -lbz2
checking whether to enable debugging... no
checking whether to build the source formatter plugin... yes
checking whether to build the autosave plugin... yes
checking whether to build the class wizard plugin... yes
checking whether to build the code completion plugin... yes
checking whether to build the compiler plugin... yes
checking whether to build the debugger plugin... yes
checking whether to build the default MIME handler plugin... yes
checking whether to build the open files list plugin... yes
checking whether to build the foreign projects importer plugin... yes
checking whether to build the scripted wizard plugin... yes
checking whether to build the to-do plugin... yes
checking which (if any) contrib plugins to build... all
checking if the compiler supports precompiled headers... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.8.0... yes (version 2.8.9)
checking for wxWidgets static library... no
checking for wxWidgets platform... wxGTK
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK2... yes
checking if wxWidgets libraries are needed for plugins... no
checking for PIC flags... -fPIC -DPIC
configure: Configuring Code::Blocks...
configure: SVN revision 1.0svn ()
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/base/Makefile
config.status: creating src/base/tinyxml/Makefile
config.status: creating src/build_tools/Makefile
config.status: creating src/build_tools/autorevision/Makefile
config.status: creating src/include/autorevision.h
config.status: creating src/include/Makefile
config.status: creating src/include/scripting/Makefile
config.status: creating src/include/scripting/bindings/Makefile
config.status: creating src/include/scripting/include/Makefile
config.status: creating src/include/scripting/sqplus/Makefile
config.status: creating src/include/scripting/sqstdlib/Makefile
config.status: creating src/include/scripting/squirrel/Makefile
config.status: creating src/include/tinyxml/Makefile
config.status: creating src/include/wxFlatNotebook/Makefile
config.status: creating src/include/wxscintilla/Makefile
config.status: creating src/sdk/Makefile
config.status: creating src/sdk/scripting/Makefile
config.status: creating src/sdk/scripting/bindings/Makefile
config.status: creating src/sdk/scripting/squirrel/Makefile
config.status: creating src/sdk/scripting/sqstdlib/Makefile
config.status: creating src/sdk/scripting/sqplus/Makefile
config.status: creating src/sdk/wxscintilla/Makefile
config.status: creating src/sdk/wxFlatNotebook/Makefile
config.status: creating src/sdk/resources/Makefile
config.status: creating src/sdk/resources/lexers/Makefile
config.status: creating src/src/wxAUI/Makefile
config.status: creating src/src/resources/Makefile
config.status: creating src/src/resources/icons/Makefile
config.status: creating src/src/resources/images/Makefile
config.status: creating src/src/resources/images/16x16/Makefile
config.status: creating src/src/resources/images/settings/Makefile
config.status: creating src/src/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/plugins/astyle/Makefile
config.status: creating src/plugins/astyle/resources/Makefile
config.status: creating src/plugins/autosave/Makefile
config.status: creating src/plugins/classwizard/Makefile
config.status: creating src/plugins/classwizard/resources/Makefile
config.status: creating src/plugins/codecompletion/Makefile
config.status: creating src/plugins/codecompletion/resources/Makefile
config.status: creating src/plugins/compilergcc/Makefile
config.status: creating src/plugins/compilergcc/depslib/Makefile
config.status: creating src/plugins/compilergcc/depslib/src/Makefile
config.status: creating src/plugins/compilergcc/resources/Makefile
config.status: creating src/plugins/debuggergdb/Makefile
config.status: creating src/plugins/debuggergdb/resources/Makefile
config.status: creating src/plugins/debuggergdb/resources/images/Makefile
config.status: creating src/plugins/debuggergdb/resources/images/16x16/Makefile
config.status: creating src/plugins/defaultmimehandler/Makefile
config.status: creating src/plugins/defaultmimehandler/resources/Makefile
config.status: creating src/plugins/openfileslist/Makefile
config.status: creating src/plugins/projectsimporter/Makefile
config.status: creating src/plugins/projectsimporter/resources/Makefile
config.status: creating src/plugins/scriptedwizard/Makefile
config.status: creating src/plugins/scriptedwizard/resources/Makefile
config.status: creating src/plugins/scriptedwizard/resources/avr/Makefile
config.status: creating src/plugins/scriptedwizard/resources/avr/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/c_file/Makefile
config.status: creating src/plugins/scriptedwizard/resources/console/Makefile
config.status: creating src/plugins/scriptedwizard/resources/console/c/Makefile
config.status: creating src/plugins/scriptedwizard/resources/console/cpp/Makefile
config.status: creating src/plugins/scriptedwizard/resources/d/Makefile
config.status: creating src/plugins/scriptedwizard/resources/d/console/Makefile
config.status: creating src/plugins/scriptedwizard/resources/directx/Makefile
config.status: creating src/plugins/scriptedwizard/resources/directx/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/dll/Makefile
config.status: creating src/plugins/scriptedwizard/resources/dll/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/empty/Makefile
config.status: creating src/plugins/scriptedwizard/resources/empty_file/Makefile
config.status: creating src/plugins/scriptedwizard/resources/fltk/Makefile
config.status: creating src/plugins/scriptedwizard/resources/fltk/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/fltk/fluid/Makefile
config.status: creating src/plugins/scriptedwizard/resources/glfw/Makefile
config.status: creating src/plugins/scriptedwizard/resources/glfw/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/glut/Makefile
config.status: creating src/plugins/scriptedwizard/resources/glut/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/gtk/Makefile
config.status: creating src/plugins/scriptedwizard/resources/gtk/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/h_file/Makefile
config.status: creating src/plugins/scriptedwizard/resources/irrlicht/Makefile
config.status: creating src/plugins/scriptedwizard/resources/irrlicht/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/lf/Makefile
config.status: creating src/plugins/scriptedwizard/resources/lf/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/lf/files/quick/Makefile
config.status: creating src/plugins/scriptedwizard/resources/lf/files/structured/Makefile
config.status: creating src/plugins/scriptedwizard/resources/ogre/Makefile
config.status: creating src/plugins/scriptedwizard/resources/ogre/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/opengl/Makefile
config.status: creating src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile
config.status: creating src/plugins/scriptedwizard/resources/opengl/files_win/Makefile
config.status: creating src/plugins/scriptedwizard/resources/qt4/Makefile
config.status: creating src/plugins/scriptedwizard/resources/qt4/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/sdl/Makefile
config.status: creating src/plugins/scriptedwizard/resources/sdl/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/plugins/Makefile
config.status: creating src/plugins/scriptedwizard/resources/plugins/templates/Makefile
config.status: creating src/plugins/scriptedwizard/resources/smartwin/Makefile
config.status: creating src/plugins/scriptedwizard/resources/smartwin/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/staticlib/Makefile
config.status: creating src/plugins/scriptedwizard/resources/staticlib/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/sharedlib/Makefile
config.status: creating src/plugins/scriptedwizard/resources/sharedlib/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/sys/Makefile
config.status: creating src/plugins/scriptedwizard/resources/sys/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/win32gui/Makefile
config.status: creating src/plugins/scriptedwizard/resources/win32gui/files/Makefile
config.status: creating src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile
config.status: creating src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile
config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/Makefile
config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile
config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile
config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile
config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile
config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile
config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile
config.status: creating src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile
config.status: creating src/plugins/todo/Makefile
config.status: creating src/plugins/todo/resources/Makefile
config.status: creating src/plugins/xpmanifest/Makefile
config.status: creating src/plugins/contrib/Makefile
config.status: creating src/plugins/contrib/AutoVersioning/Makefile
config.status: creating src/plugins/contrib/BrowseTracker/Makefile
config.status: creating src/plugins/contrib/byogames/Makefile
config.status: creating src/plugins/contrib/cb_koders/Makefile
config.status: creating src/plugins/contrib/codesnippets/Makefile
config.status: creating src/plugins/contrib/codesnippets/resources/Makefile
config.status: creating src/plugins/contrib/codestat/Makefile
config.status: creating src/plugins/contrib/codestat/resources/Makefile
config.status: creating src/plugins/contrib/dragscroll/Makefile
config.status: creating src/plugins/contrib/envvars/Makefile
config.status: creating src/plugins/contrib/help_plugin/Makefile
config.status: creating src/plugins/contrib/help_plugin/bzip2/Makefile
config.status: creating src/plugins/contrib/help_plugin/zlib/Makefile
config.status: creating src/plugins/contrib/keybinder/Makefile
config.status: creating src/plugins/contrib/lib_finder/Makefile
config.status: creating src/plugins/contrib/lib_finder/lib_finder/Makefile
config.status: creating src/plugins/contrib/profiler/Makefile
config.status: creating src/plugins/contrib/profiler/resources/Makefile
config.status: creating src/plugins/contrib/source_exporter/Makefile
config.status: creating src/plugins/contrib/source_exporter/wxPdfDocument/Makefile
config.status: creating src/plugins/contrib/symtab/Makefile
config.status: creating src/plugins/contrib/symtab/resources/Makefile
config.status: creating src/plugins/contrib/regex_testbed/Makefile
config.status: creating src/plugins/contrib/ThreadSearch/Makefile
config.status: creating src/plugins/contrib/ThreadSearch/resources/Makefile
config.status: creating src/plugins/contrib/ThreadSearch/resources/images/Makefile
config.status: creating src/plugins/contrib/wxSmith/Makefile
config.status: creating src/plugins/contrib/wxSmith/propgrid/Makefile
config.status: creating src/plugins/contrib/wxSmith/plugin/Makefile
config.status: creating src/plugins/contrib/wxSmith/properties/Makefile
config.status: creating src/plugins/contrib/wxSmith/wxwidgets/Makefile
config.status: creating src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile
config.status: creating src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile
config.status: creating src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile
config.status: creating src/plugins/contrib/wxSmithContribItems/Makefile
config.status: creating src/scripts/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/tools/cb_share_config/Makefile
config.status: creating src/tools/ConsoleRunner/Makefile
config.status: creating src/setup/Makefile
config.status: creating src/setup/mime/Makefile
config.status: creating src/templates/Makefile
config.status: creating src/templates/common/Makefile
config.status: creating src/templates/unix/Makefile
config.status: creating src/templates/win32/Makefile
config.status: creating src/wxsmith/Makefile
config.status: creating codeblocks.pc
config.status: creating codeblocks.spec
config.status: creating codeblocks.plist
config.status: creating src/include/config.h
config.status: src/include/config.h is unchanged
config.status: executing depfiles commands
* Code::Blocks source tree has been configured. *
You can now build Code::Blocks by issuing 'make'.
When the build is complete, become root and install
it by issuing 'make install'.
Making all in src
make[1]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src'
Making all in base
make[2]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/base'
Making all in tinyxml
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/base/tinyxml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/base/tinyxml'
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/base'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/base'
make[2]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/base'
Making all in build_tools
make[2]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/build_tools'
Making all in autorevision
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/build_tools/autorevision'
./auto_revision +int +wx +t ../../.. ../../../src/include/autorevision.h
sh: svn: command not found
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/build_tools/autorevision'
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/build_tools'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/build_tools'
make[2]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/build_tools'
Making all in include
make[2]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include'
make all-recursive
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include'
Making all in scripting
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting'
Making all in squirrel
make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/squirrel'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/squirrel'
Making all in sqstdlib
make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/sqstdlib'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/sqstdlib'
Making all in sqplus
make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/sqplus'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/sqplus'
Making all in bindings
make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/bindings'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/bindings'
Making all in include
make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/include'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting/include'
make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting'
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/scripting'
Making all in tinyxml
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/tinyxml'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/tinyxml'
Making all in wxscintilla
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/wxscintilla'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/wxscintilla'
Making all in wxFlatNotebook
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/wxFlatNotebook'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include/wxFlatNotebook'
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include'
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include'
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include'
make[2]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/include'
Making all in sdk
make[2]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk'
Making all in scripting
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting'
Making all in squirrel
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/squirrel'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/squirrel'
Making all in sqstdlib
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/sqstdlib'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/sqstdlib'
Making all in sqplus
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/sqplus'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/sqplus'
Making all in bindings
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/bindings'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting/bindings'
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting'
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/scripting'
Making all in wxscintilla
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/wxscintilla'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/wxscintilla'
Making all in wxFlatNotebook
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/wxFlatNotebook'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/wxFlatNotebook'
Making all in resources
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources'
Making all in lexers
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources/lexers'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources/lexers'
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources'
PWD=`pwd` cd . && zip -j /home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources/manager_resources.zip *.xrc images/*.png > /dev/null
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources'
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk/resources'
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -march=x86-64 -mtune=generic -O2 -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT configmanager-revision.lo -MD -MP -MF .deps/configmanager-revision.Tpo -c -o configmanager-revision.lo configmanager-revision.cpp
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -march=x86-64 -mtune=generic -O2 -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT configmanager-revision.lo -MD -MP -MF .deps/configmanager-revision.Tpo -c configmanager-revision.cpp -fPIC -DPIC -o .libs/configmanager-revision.o
mv -f .deps/configmanager-revision.Tpo .deps/configmanager-revision.Plo
/bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -ffast-math -march=x86-64 -mtune=generic -O2 -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -version-info 0:1:0 -o libcodeblocks.la -rpath /usr/lib annoyingdialog.lo autodetectcompilers.lo base64.lo blockallocated.lo cbexception.lo cbeditor.lo cbeditorprintout.lo cbplugin.lo cbproject.lo cbstyledtextctrl.lo cbthreadpool.lo cbworkspace.lo compileoptionsbase.lo compiler.lo compilercommandgenerator.lo compilerfactory.lo compileroptions.lo compiletargetbase.lo configmanager.lo configmanager-revision.lo configurationpanel.lo configuretoolsdlg.lo confirmreplacedlg.lo crc32.lo editarrayfiledlg.lo editarrayorderdlg.lo editarraystringdlg.lo editkeywordsdlg.lo editorbase.lo editorcolourset.lo editorconfigurationdlg.lo editorlexerloader.lo editormanager.lo editor_hooks.lo editpairdlg.lo editpathdlg.lo edittooldlg.lo encodingdetector.lo externaldepsdlg.lo filefilters.lo filegroupsandmasks.lo filemanager.lo finddlg.lo genericmultilinenotesdlg.lo globals.lo importers_globals.lo incrementalselectlistdlg.lo infowindow.lo loggers.lo logmanager.lo macrosmanager.lo managedthread.lo manager.lo menuitemsmanager.lo multiselectdlg.lo newfromtemplatedlg.lo personalitymanager.lo pipedprocess.lo pluginmanager.lo pluginsconfigurationdlg.lo printing_types.lo projectbuildtarget.lo projectdepsdlg.lo projectfile.lo projectfileoptionsdlg.lo projectlayoutloader.lo projectloader.lo projectloader_hooks.lo projectmanager.lo projectoptionsdlg.lo projectsfilemasksdlg.lo projecttemplateloader.lo replacedlg.lo scriptingmanager.lo scriptsecuritywarningdlg.lo sdk_events.lo searchresultslog.lo selecttargetdlg.lo templatemanager.lo toolsmanager.lo uservarmanager.lo virtualbuildtargetsdlg.lo workspaceloader.lo xtra_res.lo nullptr.lo -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 scripting/bindings/libsqbindings.la scripting/sqplus/libsqplus.la scripting/sqstdlib/libsqstdlib.la scripting/squirrel/libsquirrel.la ../base/tinyxml/libtinyxml.la wxscintilla/libwxscintilla.la wxFlatNotebook/libwxflatnotebook.la -lpthread -ldl
rm -fr .libs/libcodeblocks.la .libs/libcodeblocks.lai .libs/libcodeblocks.so .libs/libcodeblocks.so.0 .libs/libcodeblocks.so.0.0.1
g++ -shared -nostdlib /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../../../lib/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/crtbeginS.o .libs/annoyingdialog.o .libs/autodetectcompilers.o .libs/base64.o .libs/blockallocated.o .libs/cbexception.o .libs/cbeditor.o .libs/cbeditorprintout.o .libs/cbplugin.o .libs/cbproject.o .libs/cbstyledtextctrl.o .libs/cbthreadpool.o .libs/cbworkspace.o .libs/compileoptionsbase.o .libs/compiler.o .libs/compilercommandgenerator.o .libs/compilerfactory.o .libs/compileroptions.o .libs/compiletargetbase.o .libs/configmanager.o .libs/configmanager-revision.o .libs/configurationpanel.o .libs/configuretoolsdlg.o .libs/confirmreplacedlg.o .libs/crc32.o .libs/editarrayfiledlg.o .libs/editarrayorderdlg.o .libs/editarraystringdlg.o .libs/editkeywordsdlg.o .libs/editorbase.o .libs/editorcolourset.o .libs/editorconfigurationdlg.o .libs/editorlexerloader.o .libs/editormanager.o .libs/editor_hooks.o .libs/editpairdlg.o .libs/editpathdlg.o .libs/edittooldlg.o .libs/encodingdetector.o .libs/externaldepsdlg.o .libs/filefilters.o .libs/filegroupsandmasks.o .libs/filemanager.o .libs/finddlg.o .libs/genericmultilinenotesdlg.o .libs/globals.o .libs/importers_globals.o .libs/incrementalselectlistdlg.o .libs/infowindow.o .libs/loggers.o .libs/logmanager.o .libs/macrosmanager.o .libs/managedthread.o .libs/manager.o .libs/menuitemsmanager.o .libs/multiselectdlg.o .libs/newfromtemplatedlg.o .libs/personalitymanager.o .libs/pipedprocess.o .libs/pluginmanager.o .libs/pluginsconfigurationdlg.o .libs/printing_types.o .libs/projectbuildtarget.o .libs/projectdepsdlg.o .libs/projectfile.o .libs/projectfileoptionsdlg.o .libs/projectlayoutloader.o .libs/projectloader.o .libs/projectloader_hooks.o .libs/projectmanager.o .libs/projectoptionsdlg.o .libs/projectsfilemasksdlg.o .libs/projecttemplateloader.o .libs/replacedlg.o .libs/scriptingmanager.o .libs/scriptsecuritywarningdlg.o .libs/sdk_events.o .libs/searchresultslog.o .libs/selecttargetdlg.o .libs/templatemanager.o .libs/toolsmanager.o .libs/uservarmanager.o .libs/virtualbuildtargetsdlg.o .libs/workspaceloader.o .libs/xtra_res.o .libs/nullptr.o -Wl,--whole-archive scripting/bindings/.libs/libsqbindings.a scripting/sqplus/.libs/libsqplus.a scripting/sqstdlib/.libs/libsqstdlib.a scripting/squirrel/.libs/libsquirrel.a ../base/tinyxml/.libs/libtinyxml.a wxscintilla/.libs/libwxscintilla.a wxFlatNotebook/.libs/libwxflatnotebook.a -Wl,--no-whole-archive -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 -lpthread -ldl -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/crtendS.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../../../lib/crtn.o -march=x86-64 -mtune=generic -pthread -Wl,-soname -Wl,libcodeblocks.so.0 -o .libs/libcodeblocks.so.0.0.1
(cd .libs && rm -f libcodeblocks.so.0 && ln -s libcodeblocks.so.0.0.1 libcodeblocks.so.0)
(cd .libs && rm -f libcodeblocks.so && ln -s libcodeblocks.so.0.0.1 libcodeblocks.so)
creating libcodeblocks.la
(cd .libs && rm -f libcodeblocks.la && ln -s ../libcodeblocks.la libcodeblocks.la)
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk'
make[2]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/sdk'
Making all in src
make[2]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src'
Making all in wxAUI
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/wxAUI'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/wxAUI'
Making all in resources
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources'
Making all in icons
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/icons'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/icons'
Making all in images
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images'
Making all in 16x16
make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images/16x16'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images/16x16'
Making all in settings
make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images/settings'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images/settings'
make[5]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images'
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/images'
make[4]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources'
PWD=`pwd` cd . && zip /home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/resources.zip *.xrc images/*.png images/16x16/*.png > /dev/null
PWD=`pwd` cd ./start_here && zip /home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources/start_here.zip *.htm* *.png > /dev/null
make[4]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources'
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src/resources'
make[3]: Entering directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src'
/bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -ffast-math -march=x86-64 -mtune=generic -O2 -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -o codeblocks app.o appglobals.o compilersettingsdlg.o crashhandler.o dlgabout.o dlgaboutplugin.o environmentsettingsdlg.o infopane.o main.o prefix.o printdlg.o scriptconsole.o scriptingsettingsdlg.o splashscreen.o startherepage.o -LwxAUI -lwxaui -L../sdk -lcodeblocks -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 -lpthread -ldl
libtool: link: cannot find the library `' or unhandled argument `blocks/src/codeblocks-8.02/src/src/wxAUI'
make[3]: *** [codeblocks] Error 1
make[3]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/neuwerld/Desktop/code blocks/src/codeblocks-8.02/src'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
Aborting...
There you got all the output of the compiling, sry if it was to much
Could it be this "configure: WARNING: `missing' script is too old or missing"?
Last edited by neuwerld (2009-05-07 10:11:51) -
[SOLVED]could someone please help me get keyfinder-git working
Hello, this is my first post to the forums, so I hope I am following guidelines properly for asking for assistance..
I have played around with different libav versions as this seems to be where keyfinder hangs during compilation.. this is the error I receive:
==> Starting build()...
/usr/lib/qt/bin/uic forms/aboutdialog.ui -o ui/ui_aboutdialog.h
/usr/lib/qt/bin/uic forms/batchwindow.ui -o ui/ui_batchwindow.h
/usr/lib/qt/bin/uic forms/detailwindow.ui -o ui/ui_detailwindow.h
/usr/lib/qt/bin/uic forms/prefsdialog.ui -o ui/ui_prefsdialog.h
g++ -c -pipe -D__STDC_CONSTANT_MACROS -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/qt -I/usr/include/qt/QtXmlPatterns -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtXml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtConcurrent -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -Iui -o asynckeyprocess.o source/asynckeyprocess.cpp
g++ -c -pipe -D__STDC_CONSTANT_MACROS -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/qt -I/usr/include/qt/QtXmlPatterns -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtXml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtConcurrent -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -Iui -o asyncmetadatareadprocess.o source/asyncmetadatareadprocess.cpp
g++ -c -pipe -D__STDC_CONSTANT_MACROS -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/qt -I/usr/include/qt/QtXmlPatterns -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtXml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtConcurrent -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -Iui -o avfilemetadata.o source/avfilemetadata.cpp
g++ -c -pipe -D__STDC_CONSTANT_MACROS -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/qt -I/usr/include/qt/QtXmlPatterns -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtXml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtConcurrent -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -Iui -o avfilemetadatafactory.o source/avfilemetadatafactory.cpp
g++ -c -pipe -D__STDC_CONSTANT_MACROS -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/qt -I/usr/include/qt/QtXmlPatterns -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtXml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtConcurrent -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -Iui -o decoderlibav.o source/decoderlibav.cpp
source/decoderlibav.cpp: In constructor ‘AudioFileDecoder::AudioFileDecoder(const QString&, int)’:
source/decoderlibav.cpp:28:21: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not declared in this scope
frameBufferSize(((AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2) * sizeof(uint8_t)),
^
source/decoderlibav.cpp:100:11: warning: ‘ReSampleContext* av_audio_resample_init(int, int, int, int, AVSampleFormat, AVSampleFormat, int, int, int, double)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4339) [-Wdeprecated-declarations]
rsCtx = av_audio_resample_init(
^
source/decoderlibav.cpp:103:3: warning: ‘ReSampleContext* av_audio_resample_init(int, int, int, int, AVSampleFormat, AVSampleFormat, int, int, int, double)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4339) [-Wdeprecated-declarations]
^
source/decoderlibav.cpp: In member function ‘void AudioFileDecoder::free()’:
source/decoderlibav.cpp:116:22: warning: ‘void audio_resample_close(ReSampleContext*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4356) [-Wdeprecated-declarations]
if (rsCtx != NULL) audio_resample_close(rsCtx);
^
source/decoderlibav.cpp:116:48: warning: ‘void audio_resample_close(ReSampleContext*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4356) [-Wdeprecated-declarations]
if (rsCtx != NULL) audio_resample_close(rsCtx);
^
source/decoderlibav.cpp:123:21: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1793) [-Wdeprecated-declarations]
if (fCtx != NULL) av_close_input_file(fCtx);
^
source/decoderlibav.cpp:123:45: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1793) [-Wdeprecated-declarations]
if (fCtx != NULL) av_close_input_file(fCtx);
^
source/decoderlibav.cpp: In member function ‘bool AudioFileDecoder::decodePacket(AVPacket*, KeyFinder::AudioData*)’:
source/decoderlibav.cpp:172:25: warning: ‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3787) [-Wdeprecated-declarations]
int bytesConsumed = avcodec_decode_audio3(cCtx, dataBuffer, &dataSize, &tempPacket);
^
source/decoderlibav.cpp:172:87: warning: ‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3787) [-Wdeprecated-declarations]
int bytesConsumed = avcodec_decode_audio3(cCtx, dataBuffer, &dataSize, &tempPacket);
^
source/decoderlibav.cpp:184:28: warning: ‘int audio_resample(ReSampleContext*, short int*, short int*, int)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4347) [-Wdeprecated-declarations]
int resampleResult = audio_resample(rsCtx, (short*)frameBufferConverted, (short*)frameBuffer, newSamplesDecoded);
^
source/decoderlibav.cpp:184:118: warning: ‘int audio_resample(ReSampleContext*, short int*, short int*, int)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4347) [-Wdeprecated-declarations]
int resampleResult = audio_resample(rsCtx, (short*)frameBufferConverted, (short*)frameBuffer, newSamplesDecoded);
^
Makefile:2712: recipe for target 'decoderlibav.o' failed
make: *** [decoderlibav.o] Error 1
That is with the libav from the latest ffmpeg..
I have tried compiling libav from source also and this is the error there..
==> Starting build()...
/usr/lib/qt/bin/uic forms/aboutdialog.ui -o ui/ui_aboutdialog.h
/usr/lib/qt/bin/uic forms/batchwindow.ui -o ui/ui_batchwindow.h
/usr/lib/qt/bin/uic forms/detailwindow.ui -o ui/ui_detailwindow.h
/usr/lib/qt/bin/uic forms/prefsdialog.ui -o ui/ui_prefsdialog.h
g++ -c -pipe -D__STDC_CONSTANT_MACROS -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/qt -I/usr/include/qt/QtXmlPatterns -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtXml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtConcurrent -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -Iui -o asynckeyprocess.o source/asynckeyprocess.cpp
In file included from source/asynckeyprocess.h:36:0,
from source/asynckeyprocess.cpp:22:
source/decoderlibav.h:70:3: error: ‘ReSampleContext’ does not name a type
ReSampleContext* rsCtx;
^
Makefile:2275: recipe for target 'asynckeyprocess.o' failed
make: *** [asynckeyprocess.o] Error 1
Any assistance is greatly appreciated!! THANK YOU!
Last edited by goowi (2014-03-15 15:20:28)I got different error at first, about missing tag.h - I had to install taglib package:
==> Starting build()...
/usr/lib/qt/bin/uic forms/aboutdialog.ui -o ui/ui_aboutdialog.h
/usr/lib/qt/bin/uic forms/batchwindow.ui -o ui/ui_batchwindow.h
/usr/lib/qt/bin/uic forms/detailwindow.ui -o ui/ui_detailwindow.h
/usr/lib/qt/bin/uic forms/prefsdialog.ui -o ui/ui_prefsdialog.h
g++ -c -pipe -D__STDC_CONSTANT_MACROS -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/qt -I/usr/include/qt/QtXmlPatterns -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtXml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtConcurrent -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -Iui -o asynckeyprocess.o source/asynckeyprocess.cpp
g++ -c -pipe -D__STDC_CONSTANT_MACROS -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/qt -I/usr/include/qt/QtXmlPatterns -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtXml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtConcurrent -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -Iui -o asyncmetadatareadprocess.o source/asyncmetadatareadprocess.cpp
In file included from source/avfilemetadatafactory.h:25:0,
from source/asyncmetadatareadprocess.h:26,
from source/asyncmetadatareadprocess.cpp:22:
source/avfilemetadata.h:30:24: fatal error: taglib/tag.h: No such file or directory
#include <taglib/tag.h>
^
compilation terminated.
Makefile:2397: recipe for target 'asyncmetadatareadprocess.o' failed
make: *** [asyncmetadatareadprocess.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Then I got the same errors as you.
I installed https://aur.archlinux.org/packages/libav/ with the edit mentioned in the comments:
prepare() {
cd "$pkgname-$pkgver"
sed -i 's|freetype/freetype.h|freetype2/freetype.h|' configure
sed -i 's|freetype/config/ftheader.h|freetype2/config/ftheader.h|' libavfilter/vf_drawtext.c
keyfinder-git built and installed fine. -
I am trying to get this to work so I can try http://redcareditor.com/ but I am having problems:
==> Making package: ruby-gtkmozembed 0.18.1-1 x86_64 (Wed May 6 17:28:00 EDT 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found ruby-gnome2-all-0.18.1.tar.gz in build dir
==> Validating source files with md5sums...
ruby-gnome2-all-0.18.1.tar.gz ... Passed
==> Extracting Sources...
-> bsdtar -x -f ruby-gnome2-all-0.18.1.tar.gz
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'qt-mt', required by 'avahi-qt3', not found
checking for GCC... yes
checking for rb_define_alloc_func() in ruby.h... yes
checking for rb_block_proc() in ruby.h... yes
checking for new allocation framework... yes
checking for attribute assignment... yes
xulrunner-gtkmozembed is not found.
firefox-gtkmozembed is not found.
mozilla-gtkmozembed is found.
checking for gtk+-2.0... yes
checking for mozilla-gtkmozembed... yes
checking for G_PLATFORM_WIN32... no
checking for main() in -lgtkembedmoz... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby
--with-pkg-config
--without-pkg-config
--with-gtkembedmozlib
--without-gtkembedmozlib
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed.
Aborting...
mkmf.log for more detail:
"gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -march=x86-64 -mtune=generic -O2 -pipe -fPIC -c conftest.c"
checked program was:
/* begin */
1: /*top*/
2: #ifndef __GNUC__
3: # error
4: >>>>>> __GNUC__ undefined <<<<<<
5: #endif
/* end */
have_func: checking for rb_define_alloc_func() in ruby.h... -------------------- yes
"gcc -o conftest -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/lib/ruby/site_ruby/1.8/x86_64-linux -march=x86-64 -mtune=generic -O2 -pipe -fPIC -Wall conftest.c -L. -L/usr/lib -Wl,-R/usr/lib -L. -rdynamic -Wl,-export-dynamic -lruby-static -lpthread -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include <ruby.h>
2:
3: /*top*/
4: int main() { return 0; }
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_define_alloc_func; return 0; }
/* end */
have_func: checking for rb_block_proc() in ruby.h... -------------------- yes
"gcc -o conftest -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/lib/ruby/site_ruby/1.8/x86_64-linux -march=x86-64 -mtune=generic -O2 -pipe -fPIC -Wall conftest.c -L. -L/usr/lib -Wl,-R/usr/lib -L. -rdynamic -Wl,-export-dynamic -lruby-static -lpthread -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include <ruby.h>
2:
3: /*top*/
4: int main() { return 0; }
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_block_proc; return 0; }
/* end */
"gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/lib/ruby/site_ruby/1.8/x86_64-linux -march=x86-64 -mtune=generic -O2 -pipe -fPIC -Wall -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: #include "node.h"
3: int node_attrasgn = (int)NODE_ATTRASGN;
/* end */
"gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/lib/ruby/site_ruby/1.8/x86_64-linux -march=x86-64 -mtune=generic -O2 -pipe -fPIC -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -fshort-wchar -I/usr/include/xulrunner-1.9/unstable -I/usr/include/nspr -c conftest.c"
conftest.c:4:3: error: #error
conftest.c:5: error: expected identifier or '(' before '>>' token
checked program was:
/* begin */
1: #include <glibconfig.h>
2: /*top*/
3: #ifndef G_PLATFORM_WIN32
4: # error
5: >>>>>> G_PLATFORM_WIN32 undefined <<<<<<
6: #endif
/* end */
have_library: checking for main() in -lgtkembedmoz... -------------------- no
"gcc -o conftest -I/home/jeff/builds/ruby-gtkmozembed/src/ruby-gnome2-all-0.18.1/gtkmozembed/gtk/src -I/home/jeff/builds/ruby-gtkmozembed/src/ruby-gnome2-all-0.18.1/gtk/src -I/home/jeff/builds/ruby-gtkmozembed/src/ruby-gnome2-all-0.18.1/gtkmozembed/glib/src -I/home/jeff/builds/ruby-gtkmozembed/src/ruby-gnome2-all-0.18.1/glib/src -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/lib/ruby/site_ruby/1.8/x86_64-linux -march=x86-64 -mtune=generic -O2 -pipe -fPIC -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -fshort-wchar -I/usr/include/xulrunner-1.9/unstable -I/usr/include/nspr -DDEFAULT_MOZILLA_FIVE_HOME='"/usr/lib/xulrunner-devel-1.9/lib"' conftest.c -L. -L/usr/lib -Wl,-R/usr/lib -L. -rdynamic -Wl,-export-dynamic -L/usr/lib/xulrunner-devel-1.9/lib -Wl,-rpath /usr/lib/xulrunner-devel-1.9/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lruby-static -lgtkembedmoz -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lpthread -ldl -lcrypt -lm -lc"
/usr/bin/ld: cannot find -lgtkembedmoz
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */
"gcc -o conftest -I/home/jeff/builds/ruby-gtkmozembed/src/ruby-gnome2-all-0.18.1/gtkmozembed/gtk/src -I/home/jeff/builds/ruby-gtkmozembed/src/ruby-gnome2-all-0.18.1/gtk/src -I/home/jeff/builds/ruby-gtkmozembed/src/ruby-gnome2-all-0.18.1/gtkmozembed/glib/src -I/home/jeff/builds/ruby-gtkmozembed/src/ruby-gnome2-all-0.18.1/glib/src -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/lib/ruby/site_ruby/1.8/x86_64-linux -march=x86-64 -mtune=generic -O2 -pipe -fPIC -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -fshort-wchar -I/usr/include/xulrunner-1.9/unstable -I/usr/include/nspr -DDEFAULT_MOZILLA_FIVE_HOME='"/usr/lib/xulrunner-devel-1.9/lib"' conftest.c -L. -L/usr/lib -Wl,-R/usr/lib -L. -rdynamic -Wl,-export-dynamic -L/usr/lib/xulrunner-devel-1.9/lib -Wl,-rpath /usr/lib/xulrunner-devel-1.9/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lruby-static -lgtkembedmoz -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lpthread -ldl -lcrypt -lm -lc"
/usr/bin/ld: cannot find -lgtkembedmoz
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { main(); return 0; }
/* end */
And the PKGBUILD:
# Maintainer: Jeff Wallace <[email protected]>
# Contributor: William Rea <[email protected]>
pkgname=ruby-gtkmozembed
pkgver=0.18.1
pkgrel=1
pkgdesc="Ruby GtkMozEmbed bindings"
arch=('i686' 'x86_64')
url="http://ruby-gnome2.sourceforge.jp"
license=('LGPL')
depends=('ruby' 'gtk2' 'nspr')
source=(http://dl.sourceforge.net/sourceforge/ruby-gnome2/ruby-gnome2-all-$pkgver.tar.gz)
md5sums=('7b312986a9098cbfa180b3ae46cee063')
build() {
cd $startdir/src/ruby-gnome2-all-$pkgver/gtkmozembed
ruby extconf.rb
make || return 1
make DESTDIR=$startdir/pkg install
From the mkmf.log file, it looks like I need the lgtkembedmoz library but I'm not sure where to get it...tjwallace wrote:
Thanks for the help.
I couldn't get xulrunner-1.8 to build but I guess that is another problem...
make[4]: *** [nsAppRunner.o] Error 1
make[4]: Leaving directory `/tmp/yaourt-tmp-jeff/aur-xulrunner-1.8/xulrunner-1.8/src/xulrunner-1.8.1.14/toolkit/xre'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-jeff/aur-xulrunner-1.8/xulrunner-1.8/src/xulrunner-1.8.1.14/toolkit'
make[2]: *** [tier_50] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-jeff/aur-xulrunner-1.8/xulrunner-1.8/src/xulrunner-1.8.1.14'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-jeff/aur-xulrunner-1.8/xulrunner-1.8/src/xulrunner-1.8.1.14'
make: *** [build] Error 2
I also tried with xulrunner-1.9 but still no luck.
Is this related? http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505606 -
Trying to build squid whith squid_ldap and squid_kerb_auth.
Here my PKGBUILD:
pkgname=squid
pkgver=2.7.STABLE9
pkgrel=1
pkgdesc="A full-featured Web proxy cache server."
arch=(i686 x86_64)
url="http://www.squid-cache.org"
depends=('openssl' 'pam' 'cron' 'perl')
makedepends=('libcap>=2.16')
license=('GPL')
backup=(etc/squid/squid.conf etc/squid/mime.conf etc/conf.d/squid)
install=${pkgname}.install
source=(http://www.squid-cache.org/Versions/v2/2.7/${pkgname}-${pkgver}.tar.bz2
squid-makefiles.patch squid squid.conf.d squid.pam
squid.cron fix-for-new-cap-headers.patch)
md5sums=('3c6642c85470b1079207d43bba25a819'
'082e53bb6e2c79bc44ac95c3d69145da'
'd213b0cc1db72b749bb8c88716fdab39'
'81f9a446d143f42c6a3f30304e91c39f'
'270977cdd9b47ef44c0c427ab9034777'
'5e17df989e2a74e869790c066f61225b'
'9b7586646c8a81730029798895a0eaca')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/squid-makefiles.patch || return 1
./configure --prefix=/usr --datadir=/usr/share/squid \
--sysconfdir=/etc/squid --libexecdir=/usr/lib/squid \
--localstatedir=/var \
--enable-negotiate-auth-helpers=squid_kerb_auth \
--enable-external-acl-helpers="ldap_group" \
--with-maxfd=4096 \
--with-large-files \
DEFINE="-DHEIMDAL $DEFINE_SPNEGO -D__LITTLE_ENDIAN__" \
INCLUDE="-I/usr/include/heimdal -Ispnegohelp" \
LIBS="-lgssapi -lkrb5 -lcom_err -lasn1 -lroken"
#some versions have build problems with both async and truncate enabled:
# --enable-async-io --enable-arp-acl \
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm -rf ${pkgdir}/var
mv ${pkgdir}/usr/bin/Run* ${pkgdir}/usr/lib/squid
mkdir -p ${pkgdir}/var/cache/squid
mkdir -p ${pkgdir}/var/log/squid
install -D -m755 ${srcdir}/squid ${pkgdir}/etc/rc.d/squid
install -D -m755 ${srcdir}/squid.cron ${pkgdir}/etc/cron.weekly/squid
install -D -m644 ${srcdir}/squid.conf.d ${pkgdir}/etc/conf.d/squid
install -D -m644 ${srcdir}/squid.pam ${pkgdir}/etc/pam.d/squid
install -D -m644 ${pkgdir}/etc/squid/squid.conf \
${pkgdir}/etc/squid/squid.conf.defaul
doing makepkg gives error:
c -DHAVE_CONFIG_H -I. -I../../../include -I./spnegohelp -I. -m64 -march=x86-64 -mtune=generic -O2 -pipe -MT squid_kerb_auth.o -MD -MP -MF .deps/squid_ kerb_auth.Tpo -c -o squid_kerb_auth.o squid_kerb_auth.c
squid_kerb_auth.c:58:35: fatal error: gssapi/gssapi_generic.h: No such file or directory
compilation terminated.
make[3]: *** [squid_kerb_auth.o] Error 1
make[3]: Leaving directory `/root/abs/squid/src/squid-2.7.STABLE9/helpers/negotiate_auth/squid_kerb_auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/abs/squid/src/squid-2.7.STABLE9/helpers/negotiate_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/abs/squid/src/squid-2.7.STABLE9/helpers'
make: *** [all-recursive] Error 1
I'm using heimdal and libs32-heimdal installed. I think that by default squid tries to use MIT kerberos
I found some info how to force squid to use heimdal in src/squid-2.7.STABLE9/helpers/negotiate_auth/squid_kerb_auth/readme.txt. But it does not help to me.
Any Help Will be greatly appreciated.
Thanks!Trying to build squid whith squid_ldap and squid_kerb_auth.
Here my PKGBUILD:
pkgname=squid
pkgver=2.7.STABLE9
pkgrel=1
pkgdesc="A full-featured Web proxy cache server."
arch=(i686 x86_64)
url="http://www.squid-cache.org"
depends=('openssl' 'pam' 'cron' 'perl')
makedepends=('libcap>=2.16')
license=('GPL')
backup=(etc/squid/squid.conf etc/squid/mime.conf etc/conf.d/squid)
install=${pkgname}.install
source=(http://www.squid-cache.org/Versions/v2/2.7/${pkgname}-${pkgver}.tar.bz2
squid-makefiles.patch squid squid.conf.d squid.pam
squid.cron fix-for-new-cap-headers.patch)
md5sums=('3c6642c85470b1079207d43bba25a819'
'082e53bb6e2c79bc44ac95c3d69145da'
'd213b0cc1db72b749bb8c88716fdab39'
'81f9a446d143f42c6a3f30304e91c39f'
'270977cdd9b47ef44c0c427ab9034777'
'5e17df989e2a74e869790c066f61225b'
'9b7586646c8a81730029798895a0eaca')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/squid-makefiles.patch || return 1
./configure --prefix=/usr --datadir=/usr/share/squid \
--sysconfdir=/etc/squid --libexecdir=/usr/lib/squid \
--localstatedir=/var \
--enable-negotiate-auth-helpers=squid_kerb_auth \
--enable-external-acl-helpers="ldap_group" \
--with-maxfd=4096 \
--with-large-files \
DEFINE="-DHEIMDAL $DEFINE_SPNEGO -D__LITTLE_ENDIAN__" \
INCLUDE="-I/usr/include/heimdal -Ispnegohelp" \
LIBS="-lgssapi -lkrb5 -lcom_err -lasn1 -lroken"
#some versions have build problems with both async and truncate enabled:
# --enable-async-io --enable-arp-acl \
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm -rf ${pkgdir}/var
mv ${pkgdir}/usr/bin/Run* ${pkgdir}/usr/lib/squid
mkdir -p ${pkgdir}/var/cache/squid
mkdir -p ${pkgdir}/var/log/squid
install -D -m755 ${srcdir}/squid ${pkgdir}/etc/rc.d/squid
install -D -m755 ${srcdir}/squid.cron ${pkgdir}/etc/cron.weekly/squid
install -D -m644 ${srcdir}/squid.conf.d ${pkgdir}/etc/conf.d/squid
install -D -m644 ${srcdir}/squid.pam ${pkgdir}/etc/pam.d/squid
install -D -m644 ${pkgdir}/etc/squid/squid.conf \
${pkgdir}/etc/squid/squid.conf.defaul
doing makepkg gives error:
c -DHAVE_CONFIG_H -I. -I../../../include -I./spnegohelp -I. -m64 -march=x86-64 -mtune=generic -O2 -pipe -MT squid_kerb_auth.o -MD -MP -MF .deps/squid_ kerb_auth.Tpo -c -o squid_kerb_auth.o squid_kerb_auth.c
squid_kerb_auth.c:58:35: fatal error: gssapi/gssapi_generic.h: No such file or directory
compilation terminated.
make[3]: *** [squid_kerb_auth.o] Error 1
make[3]: Leaving directory `/root/abs/squid/src/squid-2.7.STABLE9/helpers/negotiate_auth/squid_kerb_auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/abs/squid/src/squid-2.7.STABLE9/helpers/negotiate_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/abs/squid/src/squid-2.7.STABLE9/helpers'
make: *** [all-recursive] Error 1
I'm using heimdal and libs32-heimdal installed. I think that by default squid tries to use MIT kerberos
I found some info how to force squid to use heimdal in src/squid-2.7.STABLE9/helpers/negotiate_auth/squid_kerb_auth/readme.txt. But it does not help to me.
Any Help Will be greatly appreciated.
Thanks! -
[SOLVED] Unable to build package Intel-OpenCL-SDK from the AUR
Good morning,
I am having some issues in regards to building a package from the AUR: https://aur.archlinux.org/packages/intel-opencl-sdk/
If I understand correctly this is a 64 bit package, so I made sure that my processor has the LM flag. Also I have checked which kernel I am running:
>$ uname -m
x86_64
When I start building the package it comes up with an error saying:
==> ERROR: intel-opencl-sdk is not available for the 'i686' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('i686').
So I went in to the PKGBUILD and changed the line x86_64 to i686. This seemed to started the build, but it does stop working rather soon, giving me the following error:
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
strip:./opt/intel/opencl-sdk/libOclCpuBackEnd.so: File format not recognized
/usr/bin/fakeroot: line 181: 846 User defined signal 1 FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@"
So I do not know where it is going wrong, although it also sounds that my install of Arch might be a bit dodgy as he does not want to build the package with the x86_64 setting ...
Could somebody shed some light on this matter?
Last edited by ruurdkrekt (2013-04-04 11:09:00)Scimmia wrote:No, it's going to need 64 bit versions of the libs it links to. If you want to use this package, you're going to have to reinstall all of your packages. Probably easiest to start from scratch, to be honest.
So is it possible to update the dependencies to 64bit and then build this package?
When I change /etc/pacman.conf to take x86_64 architecture packages:
Architecture = x86_64
And I change the flags of /etc/makepkg.conf to x86_64:
CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
Then when I do pacman -S llvm then it will say:
error: failed to prepare transaction (package architecture is not valid)
:: package llvm-3.2-5-i686 does not have a valid architecture
However I did put everything to x86_64, so where does he get the i686 from? -
AUR - dependency makepkg issue
Hi all,
I'm trying to compile and install ncl from AUR (using packer). All dependencies check out fine, however there is an issue while building vis5d+. I've downloaded the patch from the Sources section (provides a PKGBUILD and the patch), following is the output of makepkg:
> makepkg
patching file src/misc.c
patching file src/misc.h
patching file src/work.c
patching file util/kludge.f
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 51 with fuzz 1.
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for vendor's cc to be used instead of gcc... checking for cc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking whether ln -s works... yes
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 /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... cc -E
checking for dlfcn.h... yes
checking for file... /usr/bin/file
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for libintl.h... yes
checking for ranlib... (cached) ranlib
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for GNU gettext in libc... yes
checking for dcgettext... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for bison... bison
checking version of bison... 3.0.2, ok
checking for catalogs to be installed... pt_BR es
checking for db2html... ../missing db2html
checking for db2dvi... ../missing db2dvi
checking for db2ps... ../missing db2ps
checking for db2pdf... ../missing db2pdf
checking for db2rtf... ../missing db2rtf
checking for convert... /usr/bin/convert
checking for f77... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries... -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../.. -lgfortran -lm -lgcc_s -lquadmath
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore
checking whether we are using gcc 2.90 or later... yes
checking for float... yes
checking size of float... 4
checking for int... yes
checking size of int... 4
checking for signed char... yes
checking size of signed char... 1
checking whether byte ordering is bigendian... no
checking for sqrt in -lm... yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... yes
checking for strdup... (cached) yes
checking for X... libraries /usr/lib64, headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for glBegin in -lMesaGL... no
checking for glBegin in -lGL... yes
checking for gluProject in -lGLU... yes
checking for GL/gl.h... yes
checking for XMesaGetBackBuffer... no
checking for dlopen in -ldl... yes
checking for Tcl_Eval in -ltcl... yes
checking for setrlimit... yes
checking for Fortran idate function... no
checking for iopen in -limage... no
checking for nc_inq_dimlen in -lnetcdf... yes
checking for netcdf.h... yes
Didn't find the mixkit library;
You can download the Mixkit source
code from the Qslim home page:
http://graphics.cs.uiuc.edu/~garland/software/qslim.html
and/or use --with-mixkit=<lib> to specify the location
of libmix.a.
checking for readd_ in -lmcidas_lib... no
checking for X11/Xm/MwmUtil.h... no
checking for sys/types.h... (cached) yes
checking for sys/prctl.h... yes
checking for sys/sysmp.h... no
checking for sysmp.h... no
checking for sys/lock.h... no
checking for sys/stat.h... (cached) yes
checking for fcntl.h... yes
checking for sproc... no
checking for pthread.h... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... cc
configure: creating ./config.status
config.status: creating gtk/gradients/Makefile
config.status: creating gtk/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating lui5/Makefile
config.status: creating util/Makefile
config.status: creating config.h
config.status: creating src/api-config.h
config.status: src/api-config.h is unchanged
config.status: creating po/POTFILES
config.status: creating po/Makefile
make all-recursive
make[1]: Entering directory '/home/nevio/src/vis5d+-1.2.1'
Making all in po
make[2]: Entering directory '/home/nevio/src/vis5d+-1.2.1/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/nevio/src/vis5d+-1.2.1/po'
Making all in intl
make[2]: Entering directory '/home/nevio/src/vis5d+-1.2.1/intl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/nevio/src/vis5d+-1.2.1/intl'
Making all in lui5
make[2]: Entering directory '/home/nevio/src/vis5d+-1.2.1/lui5'
source='browser.c' object='browser.o' libtool=no \
depfile='.deps/browser.Po' tmpdepfile='.deps/browser.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f browser.c || echo './'`browser.c
source='newbrowser.c' object='newbrowser.o' libtool=no \
depfile='.deps/newbrowser.Po' tmpdepfile='.deps/newbrowser.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f newbrowser.c || echo './'`newbrowser.c
source='button.c' object='button.o' libtool=no \
depfile='.deps/button.Po' tmpdepfile='.deps/button.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f button.c || echo './'`button.c
source='buttonmatrix.c' object='buttonmatrix.o' libtool=no \
depfile='.deps/buttonmatrix.Po' tmpdepfile='.deps/buttonmatrix.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f buttonmatrix.c || echo './'`buttonmatrix.c
source='colorbar.c' object='colorbar.o' libtool=no \
depfile='.deps/colorbar.Po' tmpdepfile='.deps/colorbar.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f colorbar.c || echo './'`colorbar.c
source='destroy.c' object='destroy.o' libtool=no \
depfile='.deps/destroy.Po' tmpdepfile='.deps/destroy.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f destroy.c || echo './'`destroy.c
source='event.c' object='event.o' libtool=no \
depfile='.deps/event.Po' tmpdepfile='.deps/event.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f event.c || echo './'`event.c
source='field.c' object='field.o' libtool=no \
depfile='.deps/field.Po' tmpdepfile='.deps/field.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f field.c || echo './'`field.c
source='label.c' object='label.o' libtool=no \
depfile='.deps/label.Po' tmpdepfile='.deps/label.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f label.c || echo './'`label.c
source='layout.c' object='layout.o' libtool=no \
depfile='.deps/layout.Po' tmpdepfile='.deps/layout.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f layout.c || echo './'`layout.c
source='list.c' object='list.o' libtool=no \
depfile='.deps/list.Po' tmpdepfile='.deps/list.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f list.c || echo './'`list.c
source='newlist.c' object='newlist.o' libtool=no \
depfile='.deps/newlist.Po' tmpdepfile='.deps/newlist.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f newlist.c || echo './'`newlist.c
source='newbutton.c' object='newbutton.o' libtool=no \
depfile='.deps/newbutton.Po' tmpdepfile='.deps/newbutton.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f newbutton.c || echo './'`newbutton.c
source='newlabel.c' object='newlabel.o' libtool=no \
depfile='.deps/newlabel.Po' tmpdepfile='.deps/newlabel.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f newlabel.c || echo './'`newlabel.c
source='newslider.c' object='newslider.o' libtool=no \
depfile='.deps/newslider.Po' tmpdepfile='.deps/newslider.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f newslider.c || echo './'`newslider.c
source='pixmaps.c' object='pixmaps.o' libtool=no \
depfile='.deps/pixmaps.Po' tmpdepfile='.deps/pixmaps.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f pixmaps.c || echo './'`pixmaps.c
source='radio.c' object='radio.o' libtool=no \
depfile='.deps/radio.Po' tmpdepfile='.deps/radio.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f radio.c || echo './'`radio.c
source='scrollbar.c' object='scrollbar.o' libtool=no \
depfile='.deps/scrollbar.Po' tmpdepfile='.deps/scrollbar.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f scrollbar.c || echo './'`scrollbar.c
source='lui.c' object='lui.o' libtool=no \
depfile='.deps/lui.Po' tmpdepfile='.deps/lui.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f lui.c || echo './'`lui.c
source='browser2.c' object='browser2.o' libtool=no \
depfile='.deps/browser2.Po' tmpdepfile='.deps/browser2.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f browser2.c || echo './'`browser2.c
rm -f liblui.a
ar cru liblui.a browser.o newbrowser.o button.o buttonmatrix.o colorbar.o destroy.o event.o field.o label.o layout.o list.o newlist.o newbutton.o newlabel.o newslider.o pixmaps.o radio.o scrollbar.o lui.o browser2.o
ranlib liblui.a
make[2]: Leaving directory '/home/nevio/src/vis5d+-1.2.1/lui5'
Making all in src
make[2]: Entering directory '/home/nevio/src/vis5d+-1.2.1/src'
make all-am
make[3]: Entering directory '/home/nevio/src/vis5d+-1.2.1/src'
source='cursor.c' object='cursor.o' libtool=no \
depfile='.deps/cursor.Po' tmpdepfile='.deps/cursor.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f cursor.c || echo './'`cursor.c
source='displaywidget.c' object='displaywidget.o' libtool=no \
depfile='.deps/displaywidget.Po' tmpdepfile='.deps/displaywidget.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f displaywidget.c || echo './'`displaywidget.c
source='gui.c' object='gui.o' libtool=no \
depfile='.deps/gui.Po' tmpdepfile='.deps/gui.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f gui.c || echo './'`gui.c
source='gui_i.c' object='gui_i.o' libtool=no \
depfile='.deps/gui_i.Po' tmpdepfile='.deps/gui_i.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f gui_i.c || echo './'`gui_i.c
source='labels.c' object='labels.o' libtool=no \
depfile='.deps/labels.Po' tmpdepfile='.deps/labels.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f labels.c || echo './'`labels.c
source='script.c' object='script.o' libtool=no \
depfile='.deps/script.Po' tmpdepfile='.deps/script.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fno-range-check -Wall -pthread -c `test -f script.c || echo './'`script.c
Makefile:562: recipe for target 'script.o' failed
make[3]: Leaving directory '/home/nevio/src/vis5d+-1.2.1/src'
Makefile:341: recipe for target 'all' failed
make[2]: Leaving directory '/home/nevio/src/vis5d+-1.2.1/src'
Makefile:215: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/home/nevio/src/vis5d+-1.2.1'
Makefile:152: recipe for target 'all' failed
Any help or advice on what would be the next best course of action is appreciated.Wyrmux wrote:
GE wrote:
Do you have glu installed on that machine?
FYI,
==> Finished making: vis5d+ 1.2.1-7 (Thu Feb 13 23:16:05 EET 2014)
Yep, just reinstalled it... Same error.
EDIT: Have you installed vis5d+ via yaourt/packer/etc. or by downloading the tarball itself?
I just downloaded it from AUR and used makepkg.
Anyway, I didn't saw you were using a x86_64 machine - I'm on i686.
http://diffchecker.com/uicihzeq
Considering the fact that we've got pretty much the same output (configure), I guess it's all about x86_64 now, not the package itself. -
[SOLVED] Error building conky 1.8.0 from ABS
Hello,
Since conky 1.8.1 has a bug with fonts, I'm trying to build conky 1.8.0. I got the PKGBUILD from the ABS and modified it to install 1.8.0. I also had to include a fix for curl, found here:
http://aur.archlinux.org/packages.php?ID=31589.
However, during make I get the following error:
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/jente/packages/Arch/conky 1.8.0/src/conky-1.8.0' wordt verlaten
make[1]: Map '/home/jente/packages/Arch/conky 1.8.0/src/conky-1.8.0' wordt verlaten
make: *** [install-recursive] Fout 1
==> ERROR: A failure occurred in package().
Aborting...
It says that "nothing has to be done for..."
Here's my PKGBUILD:
pkgname=conky
pkgver=1.8.0
pkgrel=3
pkgdesc='An advanced, highly configurable system monitor for X based on torsmo'
arch=('i686' 'x86_64')
url='http://conky.sourceforge.net/'
license=('custom')
replaces=('torsmo')
makedepends=('pkg-config')
depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2')
backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
'current-power.patch')
md5sums=('3fcc5bc005c6c046587134cdb9fdadfa'
'eec51b5ccd242ed95b3b0a0fdd3252f8')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 < ../current-power.patch # See FS#21984
sed -i '
/#include <curl\/types.h>/ c\
//#include <curl/types.h>' src/eve.c
sed -i '
/#include <curl\/types.h>/ c\
//#include <curl/types.h>' src/ccurl_thread.c
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-ibm \
--enable-curl \
--enable-rss \
--enable-weather-xoap \
--enable-imlib2 \
--disable-lua \
--enable-wlan \
make
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
Last edited by Unia (2011-08-18 10:33:56)I will try to built again and post the full output!
EDIT: Here you go:
┌─[jente@lappy conky 1.8.0][17:07:13]
└─■ LC_ALL=C makepkg -si
==> Making package: conky 1.8.0-3 (Wed Aug 17 17:07:24 CEST 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found conky-1.8.0.tar.gz
-> Found current-power.patch
==> Validating source files with md5sums...
conky-1.8.0.tar.gz ... Passed
current-power.patch ... Passed
==> Extracting Sources...
-> Extracting conky-1.8.0.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
patching file src/linux.c
Hunk #1 succeeded at 1654 (offset -17 lines).
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 gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
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 for style of include used by make... GNU
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 a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
configure: WARNING: Libtool does not cope well with whitespace in `pwd`
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether gcc and cc understand -c and -o together... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.19... yes
checking for fopencookie... yes
checking for funopen... no
checking for X11... yes
checking for Imlib2... yes
checking iwlib.h usability... yes
checking iwlib.h presence... yes
checking for iwlib.h... yes
checking for iw_sockets_open in -liw... yes
checking for getnameinfo... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for Xext... yes
checking for XDamage... yes
checking for Xft... yes
checking for GLib2... yes
checking for libcurl... yes
checking for libxml2... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for snd_pcm_open in -lasound... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for sys/stat.h... (cached) yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking for alsa/asoundlib.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for sys/mount.h... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for calloc... yes
checking for malloc... yes
checking for free... yes
checking for popen... yes
checking for sysinfo... yes
checking for getloadavg... yes
checking for memrchr... yes
checking for strndup... yes
checking for gethostbyname_r... yes
checking for library containing clock_gettime... -lrt
checking for struct statfs.f_fstypename... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for db2x_xsltproc... no
checking for db2x_manxml... no
checking for xsltproc... xsltproc
checking if /usr/bin/ld -m elf_x86_64 accepts -O1... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/build.h
config.status: creating lua/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
conky 1.8.0 configured successfully:
Installing into: /usr
System config dir: /etc
C compiler flags: -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W
Libraries: -liw -lncurses -lm -lX11 -lImlib2 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lcurl -lxml2 -lasound -lrt
Linker flags: -Wl,-O1
* X11:
X11 support: yes
XDamage support: yes
XDBE support: yes
Xft support: yes
ARGB support yes
* Music detection:
Audacious: no
BMPx: no
MPD: yes
MOC: yes
XMMS2: no
* General:
math: yes
hddtemp: yes
portmon: yes
RSS: yes
Curl: yes
Weather
METAR: yes
XOAP: yes
wireless: yes
IBM: yes
nvidia: no
eve-online: no
config-output: yes
Imlib2: yes
ALSA mixer: yes
apcupsd: yes
I/O stats: yes
* Lua (no) bindings:
Cairo: no
Imlib2: no
Making all in src
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
make all-am
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-linux.o -MD -MP -MF .deps/conky-linux.Tpo -c -o conky-linux.o `test -f 'linux.c' || echo './'`linux.c
linux.c: In function 'update_net_stats':
linux.c:345:12: warning: variable 'has_bitrate' set but not used [-Wunused-but-set-variable]
linux.c: In function 'is_disk':
linux.c:2287:18: warning: 'dev_last' may be used uninitialized in this function [-Wuninitialized]
mv -f .deps/conky-linux.Tpo .deps/conky-linux.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-ccurl_thread.o -MD -MP -MF .deps/conky-ccurl_thread.Tpo -c -o conky-ccurl_thread.o `test -f 'ccurl_thread.c' || echo './'`ccurl_thread.c
mv -f .deps/conky-ccurl_thread.Tpo .deps/conky-ccurl_thread.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-conky.o -MD -MP -MF .deps/conky-conky.Tpo -c -o conky-conky.o `test -f 'conky.c' || echo './'`conky.c
conky.c: In function 'generate_text_internal':
conky.c:761:19: warning: variable 'needed' set but not used [-Wunused-but-set-variable]
conky.c: In function 'draw_each_line_inner':
conky.c:3099:13: warning: 'font_h' may be used uninitialized in this function [-Wuninitialized]
mv -f .deps/conky-conky.Tpo .deps/conky-conky.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-core.o -MD -MP -MF .deps/conky-core.Tpo -c -o conky-core.o `test -f 'core.c' || echo './'`core.c
mv -f .deps/conky-core.Tpo .deps/conky-core.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -lpthread -lm -Wl,--hash-style=gnu -Wl,--as-needed -o conky conky-conf_cookie.o conky-ibm.o conky-smapi.o conky-mpd.o conky-libmpdclient.o conky-moc.o conky-linux.o conky-top.o conky-users.o conky-sony.o conky-i8k.o conky-libtcp-portmon.o conky-tcp-portmon.o conky-x11.o conky-fonts.o conky-hddtemp.o conky-ccurl_thread.o conky-rss.o conky-prss.o conky-weather.o conky-imlib2.o conky-apcupsd.o conky-iconv_tools.o conky-colours.o conky-combine.o conky-common.o conky-conky.o conky-core.o conky-diskio.o conky-entropy.o conky-exec.o conky-fs.o conky-mail.o conky-mixer.o conky-net_stat.o conky-template.o conky-timed_thread.o conky-mboxscan.o conky-read_tcp.o conky-scroll.o conky-specials.o conky-tailhead.o conky-temphelper.o conky-text_object.o conky-timeinfo.o conky-algebra.o conky-proc.o conky-user.o -liw -lncurses -lm -lX11 -lImlib2 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lcurl -lxml2 -lasound -lrt
libtool: link: gcc -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o conky conky-conf_cookie.o conky-ibm.o conky-smapi.o conky-mpd.o conky-libmpdclient.o conky-moc.o conky-linux.o conky-top.o conky-users.o conky-sony.o conky-i8k.o conky-libtcp-portmon.o conky-tcp-portmon.o conky-x11.o conky-fonts.o conky-hddtemp.o conky-ccurl_thread.o conky-rss.o conky-prss.o conky-weather.o conky-imlib2.o conky-apcupsd.o conky-iconv_tools.o conky-colours.o conky-combine.o conky-common.o conky-conky.o conky-core.o conky-diskio.o conky-entropy.o conky-exec.o conky-fs.o conky-mail.o conky-mixer.o conky-net_stat.o conky-template.o conky-timed_thread.o conky-mboxscan.o conky-read_tcp.o conky-scroll.o conky-specials.o conky-tailhead.o conky-temphelper.o conky-text_object.o conky-timeinfo.o conky-algebra.o conky-proc.o conky-user.o -lpthread -liw -lncurses -lm -lX11 -lImlib2 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lcurl -lxml2 -lasound -lrt
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
Making all in doc
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
Making all in lua
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make all-am
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
Making all in data
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
make install-am
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
make[3]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
test -z "/usr/bin" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/usr/bin"
/bin/sh ../libtool --mode=install /bin/install -c conky '/home/jente/packages/arch/conky 1.8.0/pkg/usr/bin'
libtool: install: /bin/install -c conky /home/jente/packages/arch/conky 1.8.0/pkg/usr/bin/conky
/bin/install: target `1.8.0/pkg/usr/bin/conky' is not a directory
make[3]: *** [install-binPROGRAMS] Error 1
make[3]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
Making install in doc
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/man/man1" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/usr/share/man/man1"
/bin/install -c -m 644 conky.1 '/home/jente/packages/arch/conky 1.8.0/pkg/usr/share/man/man1'
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
Making install in lua
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make install-am
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make[3]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
test -z "/usr/lib/conky" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/usr/lib/conky"
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
Making install in data
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/etc/conky" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/etc/conky"
/bin/install -c -m 644 conky.conf conky_no_x11.conf '/home/jente/packages/arch/conky 1.8.0/pkg/etc/conky'
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
make: *** [install-recursive] Error 1
==> ERROR: A failure occurred in package().
Aborting...
Last edited by Unia (2011-08-17 15:08:43) -
[Solved]Getting different results with PKGBUILD and compiling manually
Hi,
When I compile this one package manually and install it, it works 100% however when I try it in a PKGBUILD the compile fails.
Here is the PKGBUILD I have so far (still working on it)
pkgname=smtp-gated
pkgver=1.4.16.2
pkgrel=1
pkgdesc="This software block SMTP sessions used by e-mail worms and viruses on the NA(P)T router. It acts like proxy, intercepting outgoing SMTP connections and scanning session data on-the-fly. When messages is infected, the SMTP session is terminated. It's to be used (mostly) by ISPs, so they can eliminate infected hosts from their network, and (preferably) educate their users."
url="http://smtp-proxy.klolik.org/"
license="GNU"
arch=('i686' 'x86_64')
#depends=('')
#install=smtp-gated.install
source=("$url/files/$pkgname-$pkgver.tar.gz")
md5sums=('3857d03c847efd89b052acaeffaa453b')
build() {
cd $startdir/src/$pkgname-$pkgver || return 1
msg CONFIGURE
#./configure --prefix=/usr || return 1
./configure || return 1
msg MAKE
make || return 1
msg INSTALL
make install INSTALL_ROOT=$startdir/pkg/ || return 1
And the compile error when I run "makepkg"
==> MAKE
make all-recursive
make[1]: Entering directory `/root/ABS_snmp-gated/src/smtp-gated-1.4.16.2'
Making all in src
make[2]: Entering directory `/root/ABS_snmp-gated/src/smtp-gated-1.4.16.2/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMD5_TEST -march=x86-64 -mtune=generic -O2 -pipe -Wall -MT md5_test-md5.o -MD -MP -MF ".deps/md5_test-md5.Tpo" -c -o md5_test-md5.o `test -f 'md5.c' || echo './'`md5.c; \
then mv -f ".deps/md5_test-md5.Tpo" ".deps/md5_test-md5.Po"; else rm -f ".deps/md5_test-md5.Tpo"; exit 1; fi
gcc -march=x86-64 -mtune=generic -O2 -pipe -Wall -Wl,--hash-style=gnu -Wl,--as-needed -o md5-test md5_test-md5.o
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=x86-64 -mtune=generic -O2 -pipe -Wall -MT regex-test.o -MD -MP -MF ".deps/regex-test.Tpo" -c -o regex-test.o regex-test.c; \
then mv -f ".deps/regex-test.Tpo" ".deps/regex-test.Po"; else rm -f ".deps/regex-test.Tpo"; exit 1; fi
gcc -march=x86-64 -mtune=generic -O2 -pipe -Wall -Wl,--hash-style=gnu -Wl,--as-needed -o regex-test -lpcre regex-test.o
regex-test.o: In function `main':
regex-test.c:(.text+0xc): undefined reference to `pcre_version'
regex-test.c:(.text+0x3c): undefined reference to `pcre_compile'
regex-test.c:(.text+0x71): undefined reference to `pcre_exec'
regex-test.c:(.text+0x88): undefined reference to `pcre_free'
collect2: ld returned 1 exit status
make[2]: *** [regex-test] Error 1
make[2]: Leaving directory `/root/ABS_snmp-gated/src/smtp-gated-1.4.16.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ABS_snmp-gated/src/smtp-gated-1.4.16.2'
make: *** [all] Error 2
Any pointers or help would be greatly appreciated.
Last edited by Tinuva (2010-01-27 11:55:41)Alright not sure if this is up to standard to go into AUR but this is what I have for now:
PKGBUILD:
pkgname=smtp-gated
pkgver=1.4.16.2
pkgrel=1
pkgdesc="This software block SMTP sessions used by e-mail worms and viruses on the NA(P)T router. It acts like proxy, intercepting outgoing SMTP connections and scanning session data on-the-fly. When messages is infected, the SMTP session is terminated. It's to be used (mostly) by ISPs, so they can eliminate infected hosts from their network, and (preferably) educate their users."
url="http://smtp-proxy.klolik.org/"
license="GNU"
arch=('i686' 'x86_64')
#depends=('')
install=smtp-gated.install
source=("$url/files/$pkgname-$pkgver.tar.gz")
md5sums=('3857d03c847efd89b052acaeffaa453b')
build() {
cd $startdir/src/$pkgname-$pkgver || return 1
msg CONFIGURE
export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
./configure --prefix=/usr || return 1
msg MAKE
make || return 1
msg INSTALL
make install INSTALL_ROOT=$startdir/pkg/ || return 1
install -D -m755 ../../smtp-gated ${startdir}/pkg/etc/rc.d/smtp-gated || return 1
install -D -m644 ../../smtp-gated.conf ${startdir}/pkg/etc/smtp-gated.conf || return 1
smtp-gated.install
# arg 1: the new package version
post_install() {
mkdir /var/run/smtp-gated
mkdir /var/spool/smtp-gated
mkdir /var/spool/smtp-gated/msg
chown mail.mail /var/run/smtp-gated
chown mail.mail /var/spool/smtp-gated -R
echo "
SMTP-GATED Instructions:
After installing SMTP-GATED you need to edit smtp-gated.ini
Good luck!
/bin/true
op=$1
shift
$op $*
smtp-gated that goes into /etc/rc.d/
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
# source application-specific settings
[ -f /etc/conf.d/$NAME ] && . /etc/conf.d/$NAME
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/usr/sbin:/usr/bin:/sbin:/bin
DESC="SMTP Proxy"
NAME=smtp-gated
DAEMON=/usr/sbin/$NAME
CONFIG=/etc/$NAME.conf
DAEMON_ARGS="$CONFIG"
PID=/var/run/$NAME/$NAME.pid
SCRIPTNAME=/etc/rc.d/$NAME
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
# Read configuration variable file if it is present
[ -f /etc/conf.d/$NAME ] && . /etc/conf.d/$NAME
case "$1" in
start)
stat_busy "Starting $NAME"
#[ -z "$PID" ] && $DAEMON $DAEMON_ARGS
$DAEMON $DAEMON_ARGS &>/dev/null
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon $NAME
stat_done
fi
stop)
stat_busy "Stopping $NAME"
#[ -n "$PID" ] && kill $PID &> /dev/null
smtp-gated -K &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon $NAME
stat_done
fi
restart)
$0 stop
# will not start if not fully stopped, so sleep
sleep 2
$0 start
echo "usage: $0 {start|stop|restart}"
esac
smtp-gated.conf that goes into /etc
# Virus scanning: yes
# SPAM scanning: yes
#proxy_name smtp-proxy.mydomain.com
port 9199
; bind_address 192.168.1.254
; source_addr 0.0.0.0
mode netfilter
; action_script /etc/smtp-gated-action.sh
lock_duration 1800
lock_path /var/spool/smtp-gated/lock
spool_path /var/spool/smtp-gated/msg
spool_perm 0660
pidfile /var/run/smtp-gated/smtp-gated.pid
;dumpfile /var/run/smtp-gated/smtp-state-dump
set_user mail
priority 5
lock_on virus,spam,maxhost
max_connections 64
max_per_host 10
;max_per_ident 6
;max_load 3.0
ignore_errors yes
spool_leave_on error,spam
nat_header_type ip-only
; abuse [email protected]
log_helo yes
log_mail_from accepted,rejected
log_rcpt_to accepted,rejected
; locale pl_PL
;scan_max_size 1048576
;spam_max_size 0
spam_max_size 131072
;spam_max_load 0.5
spam_threshold 5.0
; scanner_path
antivirus_type clamd
antivirus_path /var/lib/clamav/clamd.sock
antispam_type spamassassin
antispam_path /var/run/spamd.sock
Last edited by Tinuva (2010-01-27 12:13:03) -
[SOLVED] makepkg ignoreing CFLAGS
It seems no matter what I do makeflags ignores my CFLAGS and CXXFLAGS options.
I have added
CFLAGS="-march=sandybridge -mtune=sandybridge -O3 -pipe"
to all the locations that makepkg.conf has been installed..
/etc/makepkg.conf
/home/jwdev/abs/chroot/jwdev/etc/makepkg.conf
/home/jwdev/abs/chroot/root/etc/makepkg.conf
/var/abs/core/pacman/makepkg.conf
as well as to the makechrootpkg command
mkarchroot -C /etc/pacman.conf -M /etc/makepkg.conf $CHROOT/root base-devel
arch-nspawn $CHROOT/root pacman -Syu
cd $1
makechrootpkg -c -r $CHROOT -- CFLAGS="-march=sandybridge -mtune=sandybridge -O3 -pipe" CXXFLAGS="-march=sandybridge -mtune=sandybridge -O3 -pipe"
But still, when I run makepkg I see...
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall
This is the case if I makepkg or makechrootpkg
is there some otehr secert location for these args? or are they hardcoded in
I do see that some packages have hardcoded args, like libaio, which kind of defeats the point of abs
build() {
cd "$srcdir/$pkgname-$pkgver"
CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe"
make
but in my test case, smplayer, this is not the case
build() {
cd "$pkgname-$pkgver"
make PREFIX=/usr \
DOC_PATH="\\\"/usr/share/doc/smplayer\\\"" \
QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
thanks
UPDATE: running makepkg on "joe" I see that the CFLAGS are correct... so it seems that only some (all but 1 so far actually) packages respect the makepkg? while the other just do their 'own thing'? I am new to Arch, so maybe I am missing a huge piece of information
Last edited by ntisithoj (2015-03-17 06:35:08)The trick desribed in wiki:
https://wiki.archlinux.org/index.php/makepkg#CFLAGS.2FCXXFLAGS.2FCPPFLAGS_in_makepkg.conf_do_not_work_for_QMAKE_based_packages
works only with those sources, that use qmake (qmake-qt4) for preconfigure. In those case, you should to define QMAKE variable in PKGBUILD and next invoke it in "build" section. See example of QupZilla that works for me (it's modified qupzilla-qt5-qtwebkit-git's PKGBUILD by Alex Talker):
pkgname=qupzilla-qt5-qtwebkit-git
pkgver=r3348.0c37b62
pkgrel=1
pkgdesc="A new and very fast open source browser based on WebKit core, written in Qt Framework."
arch=('i686' 'x86_64')
url="http://qupzilla.com/index.php"
license=('GPL')
depends=( 'qt5-base' 'qt5-script' 'qt5-webkit')
makedepends=('git')
provides=('qupzilla' 'qupzilla-git')
conflicts=('qupzilla' 'qupzilla-git' 'qupzilla-qt5-git')
source=('git+https://github.com/QupZilla/qupzilla.git')
md5sums=('SKIP')
CFLAGS="-march=native -mtune=bdver2 -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
CXXFLAGS="-march=native -mtune=bdver2 -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
pkgver() {
cd qupzilla
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
build() {
cd "$srcdir/qupzilla"
export USE_WEBGL="true"
export KDE_INTEGRATION="true"
export QUPZILLA_PREFIX="/usr/"
export USE_LIBPATH="/usr/lib"
qmake-qt5 "$srcdir/qupzilla/QupZilla.pro" \
PREFIX=/usr \
CONFIG+=LINUX_INTEGRATED \
INSTALL_ROOT_PATH="$pkgdir" \
QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}"
make
package() {
cd ${srcdir}/qupzilla
make INSTALL_ROOT="$pkgdir/" install
Modified sections are:
- in "headers" - where I add CFLAGS="something" and CXXFLAGS="something" variable and
- in "build" section by add:
QupZilla.pro to
qmake-qt5 "$srcdir/qupzilla/
in original PKGBUILD and
CONFIG+=LINUX_INTEGRATED \
INSTALL_ROOT_PATH="$pkgdir" \
QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}"
But, in case of smplayer, it looks like, that is "preconfigured". There isn't *.pro file, you don't use "qmake" to preconfigure sources, and typical configuration for it is only:
make
sudo make install
because everything else is in Makefile.txt. You should use another trick (I don't know which will be correct).
Maybe you are looking for
-
Using an infocube as a infosource to another info cube
Hi, We are unable to create a link between two infocubes, one as a source for the other. We have used the option of "Generate Export Data Source" option on the source inforcube. While generating itself, it gives an ERROR msg below: "DataSource 8<srcC
-
How do I get rid of an extra blank tab page that opens with each email
Since the last update - whenever I open an email - it opens the email - plus a new tab - it defaults to the new tab. In the new tab are the favorites icons - I have to close this in order to see the email How do I turn this tab off so just the email
-
Hi folks, I basically work for SAP-XI now i have got to work (integration of triversity with POSDM AND ISretail) on POSDM which is there on the BIW server, so can u all please guide me how to monitor and check the data that has come to POS
-
7 in 1 Kartenleser für Edge 92z All-in-one
Der 7 in 1 Kartenleser meines Edge 92z All-in-one funktionierte nur 2 Monate! Jetzt versuche ich das Ding als Ersatzteil zu bekommen. Bis heute vergebens Weiß jemand wie man an einen neuen 7 in 1 SD-Card Reader (03T9025) kommt???
-
A positive Time Capsule Experience
Hopefully I am not jinxing myself here but yesterday I installed my time capsule yesterday and everything has gone fine. I did a wireless backup with my Macbook Air and it seemed significantly faster than when I used to do it with a shared drive atta