[SOLVED] Compiling smaragd

Hi,
I'm trying to compile smaragd (or smaragd-git, same problem) and this is the output:
==> Building and installing package
==> Making package: smaragd 0.0.7-1 (Sun Nov 17 14:43:45 CET 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading 125162-smaragd-0.0.7.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66776 100 66776 0 0 13428 0 0:00:04 0:00:04 --:--:-- 18704
==> Validating source files with md5sums...
125162-smaragd-0.0.7.tar.gz ... Passed
==> Extracting sources...
-> Extracting 125162-smaragd-0.0.7.tar.gz with bsdtar
==> Starting build()...
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt-Version 4.8.5 (using /usr/bin/qmake-qt4)
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.1e")
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl (found version "5.18.1")
-- Found Phonon: /usr/include/qt4 (Required is at least version "4.3.80")
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.11 include dir: /usr/include
-- Found KDE 4.11 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found KDE4Workspace: /usr/lib64/cmake/KDE4Workspace/KDE4WorkspaceConfig.cmake
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found GLIB2: /usr/lib64/libglib-2.0.so
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/yaourt-tmp-stefano/aur-smaragd/src/smaragd-0.0.7/build
Scanning dependencies of target kwin3_smaragd_automoc
Generating kwin_smaragd.moc
[ 0%] Built target kwin3_smaragd_automoc
Scanning dependencies of target kwin3_smaragd
[ 6%] Building CXX object src/CMakeFiles/kwin3_smaragd.dir/kwin3_smaragd_automoc.o
[ 13%] Building CXX object src/CMakeFiles/kwin3_smaragd.dir/kwin_smaragd.o
/tmp/yaourt-tmp-stefano/aur-smaragd/src/smaragd-0.0.7/src/kwin_smaragd.cpp:37:19: fatal error: cairo.h: No such file or directory
#include <cairo.h>
^
compilation terminated.
src/CMakeFiles/kwin3_smaragd.dir/build.make:80: recipe for target 'src/CMakeFiles/kwin3_smaragd.dir/kwin_smaragd.o' failed
make[2]: *** [src/CMakeFiles/kwin3_smaragd.dir/kwin_smaragd.o] Error 1
CMakeFiles/Makefile2:112: recipe for target 'src/CMakeFiles/kwin3_smaragd.dir/all' failed
make[1]: *** [src/CMakeFiles/kwin3_smaragd.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build smaragd.
Cairo is obviously installed
locate cairo.h
/usr/include/cairo/cairo.h
/usr/include/gtk-2.0/gdk/gdkcairo.h
/usr/include/gtk-3.0/gdk/gdkcairo.h
/usr/include/librsvg-2.0/librsvg/rsvg-cairo.h
/usr/include/pango-1.0/pango/pangocairo.h
/usr/include/pycairo/py3cairo.h
/usr/include/pycairo/pycairo.h
/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-linux/rb_cairo.h
/usr/share/doc/cairomm-1.0/reference/html/namespaceCairo.html
/usr/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html
I'm now on x86_64 so I tried to compile it on another pc (i686) and was able to compile succesfully.
Now? What's wrong with this x86_64 pc?
Last edited by Senseoflife (2013-11-17 14:32:55)

Ok.. this is weird!
I installed base-devel during arch installation. I've reinstalled it now and.. now smaragd is compiling!
Thanks for your help!

Similar Messages

  • [SOLVED]Compiling a program from source (Tomoe)

    I'm trying to compile Tomoe: http://tomoe.sourceforge.jp/cgi-bin/en/blog/index.rb
    It is a handwriting recognition tool for East Asian languages. For those of you familiar with them, you'd know that there are some characters that are just so obscure you can't type them with your IME and the only way to input them is with a handwriting recognition program. (Browsing a unicode character map is only something a madman can do) MS has one built in their IME, but I've had to live by copying things from wiktionary up until now on Linux, and I think this program might be my saving grace if I can get it working.
    I would want to make a PKGBUILD, but I really have no experiance with that kind of stuff at all, so I'm going to try to compile it from source the old fashioned way at least. I figured if it installs things into /usr/local/ by default it won't mess up with pacman too much.
    However I'd need 3 packages. One for tomoe, another for tomoe-gtk, and another for scim-tomoe. And the 3rd depends on the 2nd which depends on the 1st. I installed tomoe fine with ./configure && make && make install, but when I try to install tomoe-gtk I get an error at ./configure:
    checking for TOMOE... configure: error: Package requirements (tomoe >= 0.4.0) were not met:
    No package 'tomoe' found
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    Alternatively, you may set the environment variables TOMOE_CFLAGS
    and TOMOE_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    Of course I know that I installed tomoe, slocate gives me:
    (It gave me more stuff too, but they are all in the build directory in my home so I excluded them.)
    /usr/local/etc/tomoe
    /usr/local/etc/tomoe/config
    /usr/local/include/tomoe
    /usr/local/include/tomoe/pytomoe-utils.h
    /usr/local/include/tomoe/tomoe-candidate.h
    /usr/local/include/tomoe/tomoe-char.h
    /usr/local/include/tomoe/tomoe-config.h
    /usr/local/include/tomoe/tomoe-context.h
    /usr/local/include/tomoe/tomoe-dict.h
    /usr/local/include/tomoe/tomoe-enum-types.h
    /usr/local/include/tomoe/tomoe-module-impl.h
    /usr/local/include/tomoe/tomoe-module.h
    /usr/local/include/tomoe/tomoe-query.h
    /usr/local/include/tomoe/tomoe-reading.h
    /usr/local/include/tomoe/tomoe-recognizer.h
    /usr/local/include/tomoe/tomoe-shelf.h
    /usr/local/include/tomoe/tomoe-writing.h
    /usr/local/include/tomoe/tomoe.h
    /usr/local/lib/libtomoe.a
    /usr/local/lib/libtomoe.la
    /usr/local/lib/libtomoe.so
    /usr/local/lib/libtomoe.so.0
    /usr/local/lib/libtomoe.so.0.1.0
    /usr/local/lib/tomoe
    /usr/local/lib/pkgconfig/pytomoe.pc
    /usr/local/lib/pkgconfig/tomoe.pc
    /usr/local/lib/python2.6/site-packages/tomoe.a
    /usr/local/lib/python2.6/site-packages/tomoe.la
    /usr/local/lib/python2.6/site-packages/tomoe.so
    /usr/local/lib/tomoe/module
    /usr/local/lib/tomoe/module/dict
    /usr/local/lib/tomoe/module/recognizer
    /usr/local/lib/tomoe/module/dict/mysql.a
    /usr/local/lib/tomoe/module/dict/mysql.la
    /usr/local/lib/tomoe/module/dict/mysql.so
    /usr/local/lib/tomoe/module/dict/unihan.a
    /usr/local/lib/tomoe/module/dict/unihan.la
    /usr/local/lib/tomoe/module/dict/unihan.so
    /usr/local/lib/tomoe/module/dict/xml.a
    /usr/local/lib/tomoe/module/dict/xml.la
    /usr/local/lib/tomoe/module/dict/xml.so
    /usr/local/lib/tomoe/module/recognizer/simple.a
    /usr/local/lib/tomoe/module/recognizer/simple.la
    /usr/local/lib/tomoe/module/recognizer/simple.so
    /usr/local/share/tomoe
    /usr/local/share/gtk-doc/html/tomoe
    /usr/local/share/gtk-doc/html/tomoe/TomoeCandidate.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeChar.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeConfig.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeContext.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeDict.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeQuery.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeReading.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeRecognizer.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeShelf.html
    /usr/local/share/gtk-doc/html/tomoe/TomoeWriting.html
    /usr/local/share/gtk-doc/html/tomoe/home.png
    /usr/local/share/gtk-doc/html/tomoe/index.html
    /usr/local/share/gtk-doc/html/tomoe/index.sgml
    /usr/local/share/gtk-doc/html/tomoe/ix01.html
    /usr/local/share/gtk-doc/html/tomoe/left.png
    /usr/local/share/gtk-doc/html/tomoe/right.png
    /usr/local/share/gtk-doc/html/tomoe/style.css
    /usr/local/share/gtk-doc/html/tomoe/tomoe-tomoe.html
    /usr/local/share/gtk-doc/html/tomoe/tomoe.devhelp
    /usr/local/share/gtk-doc/html/tomoe/tomoe.devhelp2
    /usr/local/share/gtk-doc/html/tomoe/tomoe.html
    /usr/local/share/gtk-doc/html/tomoe/up.png
    /usr/local/share/locale/ja/LC_MESSAGES/tomoe.mo
    /usr/local/share/tomoe/dict
    /usr/local/share/tomoe/dict.dtd
    /usr/local/share/tomoe/python
    /usr/local/share/tomoe/recognizer
    /usr/local/share/tomoe/xml2est.rb
    /usr/local/share/tomoe/python/tomoe.defs
    /usr/local/share/tomoe/recognizer/handwriting-ja.xml
    /usr/local/share/tomoe/recognizer/handwriting-zh_CN.xml
    I've tried:
    export PKG_CONFIG_PATH=/usr/local/lib/tomoe:$PKG_CONFIG_PATH
    export PKG_CONFIG_PATH=/usr/local/lib:$PKG_CONFIG_PATH
    And neither of those seemed to work so I then set TOMOE_CFLAGS and TOMOE_LIBS and it indeed avoided the need to call pkg-config and the configure script went on, but I got the same problem for gucharmap, which I tried installing with pacman and then starting a new session, but it still didn't work so I had to set the environment variables to skip it and then the configure script finished, but make not so surprisingly failed.
    So what should I do to get this to compile?
    Last edited by sokuban (2008-11-24 02:48:46)

    Zoulnix wrote:
    Hello there, sokuban... just wanted to tell you that i have uploaded
    scim-tomoe, tomoe, tomoe-gtk and uim-tomoe-gtk PKGBUILD's to the AUR.
    ... would be good if someone could test  the pkgbuilds
    out to see so everything works as it should.
    tomoe-gtk had to be compiled without gucharmap. from what i could see the tomoe-gtk is not compatible with the latest version of gucharmap...
    Thanks! The tomoe packages installs and works perfectly.
    But now I've got another little problem. For some strange reason they decided that it would only load a dictionary when the locale is set to Chinese or Japanese. My computer currently runs on a ms_MY.utf-8 locale and while I wouldn't really mind putting it to ja_JP.utf-8 I'd prefer it if there is a way I can make it so that tomoe is always run with a Japanese locale no matter what locale the rest of my system is because I often randomly change it.
    While I can directly run:
    $ LANG=ja_JP.UTF-8 scim-tomoe
    from a terminal and the dictionaries are loaded fine, I'd end up only being able to write in the terminal itself which is pretty useless. Right clicking on the scim icon and selecting handwriting recognition will give me the ms_MY version which doesn't have any dictionaries loaded.
    Anyone know a way to do it?
    EDIT: So I tried setting my whole locale to Japanese. Only problem is, Thunar has a bug with Japanese. Maybe its because the Japanese name for filesystem is too long, but the sidebar is stuck out too much and cannot be pushed in. Also since it is so long my filesystem icon on my desktop can't display its whole name, I wouldn't really call that a bug, but it isn't pretty to look at.
    And I just noticed but xfce terminal fonts are messed up too. I'm too lazy to fix all this so I'm going back to English now. It would probbably be much easier to find a way to always run only this program with a Japanese locale than fix all the problems I'm getting with the whole system in a Japanese locale.
    EDIT2: Solved by running scim itself in ja_JP.UTF-8 (why didn't I think of this earlier?).
    Last edited by sokuban (2008-11-24 02:49:24)

  • [Solved]Compiling audit with staticlibs options

    Hi everyone, I wanted e4rat to boost my boot time on my laptop, but recent updates requires me to recompile audit with static libs:
    Index» Newbie Corner» [Solved] e4rat-preload cannot work
    I made a copy of the audit PKGBUILD from the repositories and altered the options as indicated
    depends=(krb5 libcap-ng)
    makedepends=(libldap swig linux-headers python2)
    license=(GPL)
    options=(emptydirs staticlibs)
    but when I run makepkg, the compile message tells me that:
    libtool: link: ranlib .libs/libauparse.a
    /usr/bin/sed: can't read Packages/audit/src/audit-2.3.2/lib/libaudit.la: No such file or directory
    libtool: link: `Packages/audit/src/audit-2.3.2/lib/libaudit.la' is not a valid libtool archive
    Makefile:895: recipe for target 'libauparse.la' failed
    ==> ERROR: A failure occurred in build().
    Aborting...
    but when I nagivate to the audit-2.3.2/lib/ directory, libaudit.la exists there. Am I missing out on something?
    Last edited by enochnotsocool (2013-12-15 01:56:36)

    Here is my entire /etc/makepkg.conf is it helps at all:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync --no-motd -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/wget
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    #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"
    CPPFLAGS="-D_FORTIFY_SOURCE=2"
    CFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
    CXXFLAGS="${CFLAGS}"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
    DEBUG_CFLAGS="-g -fvar-tracking-assignments"
    DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
    #-- Make Flags: change this for DistCC/SMP systems
    MAKEFLAGS="-j5"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    #-- check: Run the check() function if present in the PKGBUILD
    #-- sign: Generate PGP signature file
    BUILDENV=(fakeroot !distcc color !ccache check !sign)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    #-- Specify a directory for package building.
    #BUILDDIR=/tmp/makepkg
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- staticlibs: Leave static library (.a) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    #-- upx: Compress binary executable files using UPX
    #-- debug: Add debugging flags as specified in DEBUG_* variables
    OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Log files: specify a fixed directory where all log files will be placed
    #LOGDEST=/home/makepkglogs
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    #-- Specify a key to use for package signing
    #GPGKEY=""
    # COMPRESSION DEFAULTS
    COMPRESSGZ=(gzip -c -f -n)
    COMPRESSBZ2=(bzip2 -c -f)
    COMPRESSXZ=(xz -c -z -)
    COMPRESSLRZ=(lrzip -q)
    COMPRESSLZO=(lzop -q)
    COMPRESSZ=(compress -c -f)
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    #PKGEXT='.pkg.tar.xz'
    PKGEXT='.tar'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Those were the options I used to build. I installed the depends and then built in my home directory after making the change to the PKGBUILD (adding staticlibs to options array) as you specified. My cpu is i7 sandybridge. Aside from that I'm not sure how much help I can be.

  • [Solved] Compiling kernel with 'localmodcfg' - 'brcmsmac' missing

    Hi all,
    I want to compile my own optimized ck-kernel with localmodcfg="y" which works mostly.
    However there is a small problem.
    The module 'brcmsmac' for the WLAN card is never included although it is listed in my modprobed.db.
    Does someone have any clue what could be the cause?
    Thanks
    Radioactiveman
    Last edited by Radioactiveman (2012-01-13 16:36:15)

    A minor fix for the patch by Steven Rostedt solved my issue.
    I have compiled linux-ck 3.2.1-2 with localmodconfig today and brcmsmac is now included.
    Marking the thread as solved, thanks to Steve.
    Patch file:
    diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
    index ec7afce..bccf07d 100644
    --- a/scripts/kconfig/streamline_config.pl
    +++ b/scripts/kconfig/streamline_config.pl
    @@ -250,33 +250,61 @@ if ($kconfig) {
    read_kconfig($kconfig);
    +sub convert_vars {
    + my ($line, %vars) = @_;
    +
    + my $process = "";
    +
    + while ($line =~ s/^(.*?)(\$\((.*?)\))//) {
    + my $start = $1;
    + my $variable = $2;
    + my $var = $3;
    +
    + if (defined($vars{$var})) {
    + $process .= $start . $vars{$var};
    + } else {
    + $process .= $start . $variable;
    + }
    + }
    +
    + $process .= $line;
    +
    + return $process;
    +}
    +
    # Read all Makefiles to map the configs to the objects
    foreach my $makefile (@makefiles) {
    - my $cont = 0;
    + my $line = "";
    + my %make_vars;
    open(MIN,$makefile) || die "Can't open $makefile";
    while (<MIN>) {
    + # if this line ends with a backslash, continue
    + chomp;
    + if (/^(.*)\\$/) {
    + $line .= $1;
    + next;
    + }
    +
    + $line .= $_;
    + $_ = $line;
    + $line = "";
    +
    my $objs;
    - # is this a line after a line with a backslash?
    - if ($cont && /(\S.*)$/) {
    - $objs = $1;
    - $cont = 0;
    + $_ = convert_vars($_, %make_vars);
    # collect objects after obj-$(CONFIG_FOO_BAR)
    if (/obj-\$\((CONFIG_[^\)]*)\)\s*[+:]?=\s*(.*)/) {
    $var = $1;
    $objs = $2;
    +
    + # check if variables are set
    + } elsif (/^\s*(\S+)\s*[:]?=\s*(.*\S)/) {
    + $make_vars{$1} = $2;
    if (defined($objs)) {
    - # test if the line ends with a backslash
    - if ($objs =~ m,(.*)\\$,) {
    - $objs = $1;
    - $cont = 1;
    foreach my $obj (split /\s+/,$objs) {
    $obj =~ s/-/_/g;
    if ($obj =~ /(.*)\.o$/) {
    Last edited by Radioactiveman (2012-01-13 16:37:06)

  • [SOLVED] Compilation error for lib32 Soundtouch

    Hi all!
    I'm trying to create a lib32 package for SoundTouch from source. I based the PKGBUILD in the current avaialble in extra repository (found it in here). I'm trying to compile it, but I don't have much experience with compilation and therefore I having a hard time here.
    Please take a look in files in the links below:
    PKGBUILD http://aur.pastebin.com/SUiBUq7E
    soundtouch-1.4.0-x86_64-asm-broken.patch http://projects.archlinux.org/svntogit/ … oken.patch
    soundtouch-1.4.0-mmx-sse-compile-fix.patch http://projects.archlinux.org/svntogit/ … -fix.patch
    Output for "LC_ALL=C makepkg -sL" http://pastebin.com/1X8UCyaK
    src/soundtouch/config.log http://pastebin.com/AEWMXAF9
    What is wrong and how can I fix this error?
    Thanks in advance!
    Last edited by josephg (2011-01-19 12:28:46)

    Ahh, forget it. I added a lazy option "--with-pic" to the command "./configure" and that's all. It works. Next time, I'll sleep, wake up, take a breath and then try to compile again.
    Case solved, package available in AUR http://aur.archlinux.org/packages.php?ID=45562
    Cheers.

  • [SOLVED] Compile 32bit Wine in x64 without chroot?

    I was wondering if it's possible. Due to winetricks not working with x64 wine, I wanted to do a compile of 32-bit Wine without chroot. I need to apply patches, otherwise I'd just use pacman. I've looked but pretty much all topics I've found that are related are before Multilib was added to Arch and all require chroot. Thanks for any help.
    -- Edit --
    Solved it by just getting multilib gcc, and downloading all the missing dependencies that caused warnings after ./configure with x32 wine
    Last edited by Citric (2012-05-14 02:57:46)

    Citric wrote:
    tommis wrote:
    You don't recompile new wine you use 32 bit wineprefix.
    env WINEARCH=win32 WINEPREFIX=~/where/you/want/your/wineprefix/to/be winecfg
    See: https://wiki.archlinux.org/index.php/Wine
    This is for precompiled from pacman. I have to do a fresh compile to be able to apply patches that will fixes games/software for myself, which usually requires a chroot to compile it in 32-bit, therefore pacman isn't an option.
    it doesn't require a 32-bit chroot. that is only 1 of 2 options;
    https://wiki.archlinux.org/index.php/Ar … _Arch64.3F
    You can use a chroot if you want to, or have good reason to... but myself -> i run a multilib system and i compile wine on every update (i just compiled 1.5.4 yesterday). I only use 32bit apps in wine, as well via my 32bit prefix.
    If you decide to go the 'multilib' route, you could use package management in arch to compile/install wine ... there are a couple of patched versions of wine in the AUR, that you could use as a template. just download the tarball, extract it and modify it to use your patches / suit your needs, add your patches to the directory, fix checksums, etc and voila
    patched versions of wine in AUR;
    https://aur.archlinux.org/packages.php?ID=40169
    https://aur.archlinux.org/packages.php?ID=52143
    there is one or two others, but they are very similar. either could work as a good template.
    ...then anytime you want to update wine, you just cd into the pkgbuild's directory and makepkg -si (you may have to edit the pkgver)... (you can also automate all of this too, i just don't have a link(s) to the archwiki on this, off hand.
    anyway, it basically comes down to either having a 32bit chroot, or running a multlib system.
    cheerz
    Last edited by triplesquarednine (2012-05-14 17:46:58)

  • Solved: Compiling Ralink 2860 module on eee 1000H

    When I try to compile the ralink 2860 drivers (1.8.0.0) I get
    make[1]: Entering directory `/lib/modules/2.6.28eee/build'
    make[1]: *** No rule to make target `modules'.  Stop.
    make[1]: Leaving directory `/lib/modules/2.6.28eee/build'
    make: *** [LINUX] Error 2
    No idea why. I did modify the PKGBUILD like it said to. What am I missing?
    Last edited by donryanocero (2009-02-21 03:48:53)

    Solved. make modules_install again took care of it.

  • [Solved] Compile Secondlife/Firestorm with Autobuild on 32bit Arch

    Hey all, this is my first forum post so hope it is an the right place here and you can help me I tried to complie the Firestorm Viewer for Secondlife with Autobuild but i get this error.
    Someone know whats going wrong here or what is missing ? Hope you can help me. Im using Archlinux 32bit version and gcc 4.6 , the command i used to start was:
    sudo autobuild configure -c ReleaseFS_open
    Hope that helps and thank you!
    [sonix@linux phoenix-firestorm-lgpl]$ sudo autobuild configure -c ReleaseFS_open
    PLATFORM: 'linux32'
    KDU: false
    FMOD: false
    PACKAGE: true
    CLEAN: false
    BUILD: false
    CONFIG: true
    PASSTHRU:
    BTYPE: Release
    Logging to /home/sonix/firestormsrc/phoenix-firestorm-lgpl/build-linux-i686/logs/build_linux32.log
    Versioning...
    /home/sonix/firestormsrc/phoenix-firestorm-lgpl /home/sonix/firestormsrc/phoenix-firestorm-lgpl/build-linux-i686
    Nicht vertrauenswürdige Datei /home/sonix/firestormsrc/phoenix-firestorm-lgpl/.hg/hgrc vom Nutzer sonix, Gruppe users
    Nicht vertrauenswürdige Datei /home/sonix/firestormsrc/phoenix-firestorm-lgpl/.hg/hgrc vom Nutzer sonix, Gruppe users
    Channel : Firestorm-private-linux
    Version : 3.2.1.24004
    File "./scripts/update_version_files.py", line 63
    print "Usage:"
    ^
    SyntaxError: invalid syntax
    /home/sonix/firestormsrc/phoenix-firestorm-lgpl/build-linux-i686
    Configuring linux32...
    Removing select previously packaged resources, they will refresh at build time
    -- Building with OpenAL audio support
    -- Building with OpenAL audio support
    -- We seem to have an artwork bundle in the tree - brilliant.
    File "/home/sonix/firestormsrc/phoenix-firestorm-lgpl/indra/../scripts/build_version.py", line 64
    print get_version(name)
    ^
    SyntaxError: invalid syntax
    CMake Error at cmake/BuildVersion.cmake:16 (message):
    Could not determine viewer version
    Call Stack (most recent call first):
    newview/CMakeLists.txt:1274 (build_version)
    File "/home/sonix/firestormsrc/phoenix-firestorm-lgpl/indra/../scripts/build_channel.py", line 58
    print get_channel(name)
    ^
    SyntaxError: invalid syntax
    CMake Error at cmake/BuildVersion.cmake:32 (message):
    Could not determine channel
    Call Stack (most recent call first):
    newview/CMakeLists.txt:1275 (build_channel)
    -- Configuring incomplete, errors occurred!
    Finished
    [sonix@linux phoenix-firestorm-lgpl]$
    Btw tried it in Ubuntu too and there it is working. So maybe something is missing in my Arch install ?
    Get it solved with the help of this Hompage:
    http://axezn.tk/2011/09/16/compiling-viewers/
    But i dont know how to mark this post as solved ...
    Last edited by sonix1985 (2011-11-15 08:49:32)

    You are welcome and I share your problems in debugging such errors.
    By the way though: In Archlinux there is a section "AUR", which contains packages not in the official repositories, but provided by users for a million reasons. If you go to:
    https://aur.archlinux.org/packages.php? … _Search=Go
    you will find that different viewers are available there in 32/64 bit stable versions. Plus someone will have taken the time to sort out any specific problems to compile them with an Arch system and probably update them. Maybe you want to go there and use one of those.

  • [Solved] Compile madwifi

    I just updated my kernel, so I have to compile my wireless drivers again.
    I can't compile any of the versions, and I think the problem is gcc4.4 related (I'm not sure though).
    ~/Desktop/madwifi-hal-0.10.5.6-r4003-20090416 $ make
    Checking requirements... ok.
    Checking kernel configuration... ok.
    make -C /lib/modules/2.6.30-ARCH/build SUBDIRS=/home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416 modules
    make[1]: Entering directory `/usr/src/linux-2.6.30-ARCH'
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath/if_ath.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath/if_ath_radar.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath/if_ath_hal_extensions.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath/if_ath_pci.o
    LD [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath/ath_pci.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_hal/ah_os.o
    HOSTCC /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_hal/uudecode
    UUDECODE /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_hal/i386-elf.bin
    UNMANGLE /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_hal/i386-elf.hal.o
    LD [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_hal/ath_hal.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/amrr/amrr.o
    LD [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/amrr/ath_rate_amrr.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/minstrel/minstrel.o
    LD [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/minstrel/ath_rate_minstrel.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/onoe/onoe.o
    LD [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/onoe/ath_rate_onoe.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/sample/sample.o
    LD [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/ath_rate/sample/ath_rate_sample.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/net80211/if_media.o
    CC [M] /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/net80211/ieee80211_skb.o
    cc1: warnings being treated as errors
    /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/net80211/ieee80211_skb.c: In function 'skb_print_message':
    /home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/net80211/ieee80211_skb.c:132: error: the frame size of 1072 bytes is larger than 1024 bytes
    make[3]: *** [/home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/net80211/ieee80211_skb.o] Error 1
    make[2]: *** [/home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416/net80211] Error 2
    make[1]: *** [_module_/home/jlc/Desktop/madwifi-hal-0.10.5.6-r4003-20090416] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
    make: *** [modules] Error 2
    Last edited by jlcordeiro (2009-06-26 12:30:28)

    Not the way I wanted to solve it, but it's good enough to workaround till I have the time to go back to the problem.
    Installed from yaourt.

  • [Solved] Compiling Xorg-server 1.6.3.901.

    Hello Toaday I wanted to build new xorg-server package with this PKGBUILD:
    5 pkgname=xorg-server
    6 pkgver=1.6.3.901
    7 pkgrel=1
    8 pkgdesc="X.Org X servers"
    9 arch=('i686' 'x86_64')
    10 license=('custom')
    11 url="http://xorg.freedesktop.org"
    12 depends=('libxfont>=1.4.0' 'openssl>=0.9.8k' 'libpciaccess>=0.10.8' 'libxv>=1.0.4' 'pixman>=0.16.0' 'xkeyboard-config>=1.6' 'xorg-serve
    13 makedepends=('glproto' 'libx11>=1.2.2' 'mesa>=7.5.1' 'xf86driproto>=2.1.0' 'xtrans>=1.2.4' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'ren
    14 conflicts=('catalyst-utils<=9.2')
    15 options=('!libtool')
    16 provides=('x-server')
    17 groups=('xorg')
    18 install=xorg-server.install
    19 source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
    20 xorg-redhat-die-ugly-pattern-die-die-die.patch
    21 dpms-dont-reset-lastdeviceeventtime.patch
    22 dri2-dontcrash.patch
    23 xinerama.patch
    24 dga.patch
    25 xvfb-run
    26 xvfb-run.1)
    27 md5sums=('8d43c4cb43e6a10550e68fbbcad10e9d'
    28 '1a336eb22e27cbf443ec5a2ecddfa93c'
    29 '9ea2e9f5a7192da23c5c573545fe9836'
    30 '03cd32862fbfe5f493e108ee7205ade6'
    31 '060aaa85d64d26915783e9f6837a666c'
    32 'f426f93dfec972ba6f641a8e7d6a9256'
    33 '52fd3effd80d7bc6c1660d4ecf23d31c'
    34 '376c70308715cd2643f7bff936d9934b')
    35
    36 build() {
    37 cd "${srcdir}/${pkgname}-${pkgver}"
    38 # Get rid of the ugly pattern
    39 patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1
    40
    41 # Build fixes for new protos
    42 patch -Np1 -i "${srcdir}/xinerama.patch" || return 1
    43 patch -Np1 -i "${srcdir}/dga.patch" || return 1
    44
    45 # Fixes from http://wiki.x.org/wiki/Server16Branch
    46 patch -Np1 -i "${srcdir}/dpms-dont-reset-lastdeviceeventtime.patch" || return 1
    47 patch -Np1 -i "${srcdir}/dri2-dontcrash.patch" || return 1
    48
    49 # Fix dbus config path
    50 sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
    51
    52 ./configure --prefix=/usr \
    53 --disable-dri2 \
    54 --disable-ipv6 \
    55 --disable-dri \
    56 --disable-dmx \
    57 --disable-xvfb \
    58 --disable-xnest \
    59 --disable-composite \
    60 --disable-xcsecurity \
    61 --enable-xorg \
    62 --disable-xephyr \
    63 --disable-glx-tls \
    64 --disable-kdrive \
    65 --enable-install-setuid \
    66 --disable-config-hal \
    67 --enable-config-dbus \
    68 --disable-record \
    69 --disable-xfbdev \
    70 --disable-xfake \
    71 --disable-xsdl \
    72 --disable-static \
    73 --sysconfdir=/etc/X11 \
    74 --localstatedir=/var \
    75 --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/shar
    76 --with-xkb-path=/usr/share/X11/xkb \
    77 --with-xkb-output=/var/lib/xkb \
    78 --without-dri-driver || return 1
    79
    80 make || return 1
    81 make DESTDIR="${pkgdir}" install || return 1
    82
    83 install -m755 "${srcdir}/xvfb-run" "${pkgdir}/usr/bin/" || return 1
    84 install -m644 "${srcdir}/xvfb-run.1" "${pkgdir}/usr/share/man/man1/" || return 1
    85
    86 rm -rf "${pkgdir}/var/log" || return 1
    87
    88 install -m755 -d "${pkgdir}/etc/X11" || return 1
    89 install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
    90
    91 # Needed for non-mesa drivers, libgl will restore it
    92 mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
    93 "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
    94
    95 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
    96 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
    And while compiling I got error:
    /home/user/abs/xorg-server/PKGBUILD: line 77: --with-xkb-path=/usr/share/X11/xkb: No such file or direcotry
    Last edited by SpeedVin (2009-09-06 14:00:23)

    Heh I missed some part of like like flamelab said , how I do that?
    Some time ago I created my own PKGBUILD for xorg-server and toady I want to update it becouse I see some difreces between my PKGBUILD and PKGBUILD from abs tree and I copy the difrrent line
    Thanks Perry3D and big thanks to flamelab.

  • [ SOLVED ] Compile Error with Java Fonts & IntelliJ

    Hi All
    I have now got a new problem when i compile a flex project.  Yesterday inorder to get the IJ Interface font smoothing sorted, i had to add this line to my ~/.bashrc file
    _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
    But now when i go to run a flex project, i get the following error message
    Information:Using built-in compiler shell, up to 4 parallel threads
    See compiler settings at File | Settings | Compiler | Flex Compiler page
    Information:Starting Flex compiler:
    /opt/java/jre/bin/java -Dapplication.home=/home/julian/SDK/flex_sdk_4.5.0.17855 -Xmx384m -Dsun.io.useCanonCaches=false -Duser.language=en -Duser.region=en -Xmx1024m -classpath /opt/idea-IU-98.311/plugins/flex/lib/flex-compiler.jar:/home/julian/SDK/flex_sdk_4.5.0.17855/lib/flex-compiler-oem.jar com.intellij.flex.compiler.FlexCompiler 48936
    Information:Compilation completed with 2 errors and 0 warnings
    Information:2 errors
    Information:0 warnings
    Error:Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
    Error:java.net.SocketException: Socket closed
    Error:java.net.ConnectException: Connection refused
    Error:     at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:218)
         at com.intellij.flex.compiler.FlexCompiler.openSocket(FlexCompiler.java:35)
         at com.intellij.flex.compiler.FlexCompiler.main(FlexCompiler.java:70)
    Any suggestions, besides disabling the _JAVA_OPTION again ?
    Many Thanks
    Last edited by whitetimer (2010-11-14 17:24:11)

    -Dawt.useSystemAAFontSettings=on needs to be added to the end of file
    idea.vmoptions

  • [Solved] Compiling kdelibs 4.5 not recognizes FAM

    Hello all ;D
    Why I compile kdelibs?
    Becouse I need the debugging symbols, which are stripped from the package in the official repository (the packagers compile using the option "strip" in makepkg.conf. I add the option '!strip' to the default PKGBUILD).  I need them to get a full backtrace using gdb and after reporting bugs on bugs.kde.org.
    What is FAM?
    $ pacman -Si fam
    Descripción : File Alteration Monitor
    So, when I compile kdelibs 4.5 using the PKGBUILD, got by using abs (extra repo), I get this message:
    The following optional packages could NOT be located on your system.
    * FAM  <http://oss.sgi.com/projects/fam>
         File Alteration Monitor
         Provides file alteration notification facilities using a separate service.
    First I installed FAM using pacman:
    $ sudo pacman -S fam
    But still I got the message.
    Then I compiled the package FAM using the default PKGBUILD (abs) but adding the option '!strip'. Still I got the message.
    Really I don't know why still get the message if the package (fam) is installed on my system:
    $ pacman -Ss fam
    extra/fam 2.7.0-14 [installed]
    File Alteration Monitor
    Perhaps the problem is in the PKGBUILD of kdelibs 4.5:
    # $Id: PKGBUILD 60156 2009-12-01 10:21:15Z andrea $
    # Maintainer: Andrea Scarpino <[email protected]
    # Contributor: Pierre Schmitz <[email protected]>
    pkgname=kdelibs
    pkgver=4.5.0
    pkgrel=1
    pkgdesc="KDE Core Libraries"
    arch=('i686' 'x86_64')
    url='http://www.kde.org'
    license=('GPL' 'LGPL' 'FDL')
    depends=('shared-mime-info' 'hal' 'xz' 'enchant' 'jasper' 'openexr' 'giflib'
    'strigi' 'libxtst' 'soprano' 'ca-certificates' 'xdg-utils' 'qca' 'polkit-qt'
    'libxss' 'phonon' 'shared-desktop-ontologies' 'attica' 'libxcursor' 'libdbusmenu-qt'
    'hicolor-icon-theme')
    makedepends=('pkgconfig' 'cmake' 'automoc4' 'intltool' 'avahi' 'libgl' 'hspell' 'docbook-xsl')
    replaces=('arts' 'kdelibs-experimental')
    options=('!strip')
    install='kdelibs.install'
    source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
    'kde-applications-menu.patch' 'archlinux-menu.patch' 'abs-syntax-highlight.patch')
    sha1sums=('b1f6523d608433d4ed81c3ae7343a893942d8768'
    '86ee8c8660f19de8141ac99cd6943964d97a1ed7'
    '63a850ab4196b9d06934f2b4a13acd9f7739bc67'
    'd994f262356af5b9e4e9619646e471bd98c91efb')
    build() {
    cd ${srcdir}/${pkgname}-${pkgver}
    # avoid file conflict with gnome-menu
    patch -p1 -i $srcdir/kde-applications-menu.patch
    # add Archlinux menu entry
    patch -p1 -i $srcdir/archlinux-menu.patch
    # add syntax highlightning for PKGBUILD and .install files
    patch -p1 -i $srcdir/abs-syntax-highlight.patch
    cd ${srcdir}
    mkdir build
    cd build
    cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=debugfull \
    -DCMAKE_SKIP_RPATH=ON \
    -DKDE_DISTRIBUTION_TEXT='Arch Linux' \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DSYSCONF_INSTALL_DIR=/etc \
    -DHTML_INSTALL_DIR=/usr/share/doc/kde/html \
    -DKDE_DEFAULT_HOME='.kde4' \
    -DWITH_FAM=OFF \
    -DKAUTH_BACKEND=PolkitQt-1
    make
    package() {
    cd $srcdir/build
    make DESTDIR=$pkgdir install
    # cert bundle seems to be hardcoded
    # link it to the one from ca-certificates
    rm -f $pkgdir/usr/share/apps/kssl/ca-bundle.crt
    ln -sf /etc/ssl/certs/ca-certificates.crt $pkgdir/usr/share/apps/kssl/ca-bundle.crt
    Just I added the option !strip and changed the flag -DCMAKE_BUILD_TYPE from Release to debugfull
    Or maybe this is a issue of the kdelibs source code
    Does anyone has any idea?
    I was to report this as bug on the archlinux bug tracking but first, I prefer ask
    Thanks so much ;D and excuse my poor english I talk spanish
    Last edited by zuargo (2010-08-25 03:16:39)

    You want to remove "-DWITH_FAM=OFF"

  • [SOLVED]Compilation Issues:

    How does one simply compile a program that can "just run?" I used GCC as a Windows user and never once did I have issues with it. The wiki, assuming there's a proper page for it, should have something for compilation in it. If there's any other resources out there, they would be gladly appreciated.
    Also, I tried compiling this in Emacs; didn't go quite so well:
    #include <string.h>
    #include <stdlib.h>
    #include <stdio.h>
    #include <X11/Xlib.h>
    /* The window which contains the text. */
    struct {
    int width;
    int height;
    char * text;
    int text_len;
    /* X Windows related variables. */
    Display * display;
    int screen;
    Window root;
    Window window;
    GC gc;
    XFontStruct * font;
    unsigned long black_pixel;
    unsigned long white_pixel;
    text_box;
    /* Connect to the display, set up the basic variables. */
    static void x_connect ()
    text_box.display = XOpenDisplay (NULL);
    if (! text_box.display) {
    fprintf (stderr, "Could not open display.\n");
    exit (1);
    text_box.screen = DefaultScreen (text_box.display);
    text_box.root = RootWindow (text_box.display, text_box.screen);
    text_box.black_pixel = BlackPixel (text_box.display, text_box.screen);
    text_box.white_pixel = WhitePixel (text_box.display, text_box.screen);
    /* Create the window. */
    static void create_window ()
    text_box.width = 300;
    text_box.height = 300;
    text_box.window =
    XCreateSimpleWindow (text_box.display,
    text_box.root,
    1, /* x */
    1, /* y */
    text_box.width,
    text_box.height,
    0, /* border width */
    text_box.black_pixel, /* border pixel */
    text_box.white_pixel /* background */);
    XSelectInput (text_box.display, text_box.window,
    ExposureMask);
    XMapWindow (text_box.display, text_box.window);
    /* Set up the GC (Graphics Context). */
    static void set_up_gc ()
    text_box.screen = DefaultScreen (text_box.display);
    text_box.gc = XCreateGC (text_box.display, text_box.window, 0, 0);
    XSetBackground (text_box.display, text_box.gc, text_box.white_pixel);
    XSetForeground (text_box.display, text_box.gc, text_box.black_pixel);
    /* Set up the text font. */
    static void set_up_font ()
    const char * fontname = "-*-helvetica-*-r-*-*-14-*-*-*-*-*-*-*";
    text_box.font = XLoadQueryFont (text_box.display, fontname);
    /* If the font could not be loaded, revert to the "fixed" font. */
    if (! text_box.font) {
    fprintf (stderr, "unable to load font %s: using fixed\n", fontname);
    text_box.font = XLoadQueryFont (text_box.display, "fixed");
    XSetFont (text_box.display, text_box.gc, text_box.font->fid);
    /* Draw the window. */
    static void draw_screen ()
    int x;
    int y;
    int direction;
    int ascent;
    int descent;
    XCharStruct overall;
    /* Centre the text in the middle of the box. */
    XTextExtents (text_box.font, text_box.text, text_box.text_len,
    & direction, & ascent, & descent, & overall);
    x = (text_box.width - overall.width) / 2;
    y = text_box.height / 2 + (ascent - descent) / 2;
    XClearWindow (text_box.display, text_box.window);
    XDrawString (text_box.display, text_box.window, text_box.gc,
    x, y, text_box.text, text_box.text_len);
    /* Loop over events. */
    static void event_loop ()
    while (1) {
    XEvent e;
    XNextEvent (text_box.display, & e);
    if (e.type == Expose) {
    draw_screen ();
    int main (int argc, char ** argv)
    text_box.text = "Hello World";
    text_box.text_len = strlen (text_box.text);
    x_connect ();
    create_window ();
    set_up_gc ();
    set_up_font ();
    event_loop ();
    return 0;
    I would give you my output, but I cannot get GNOME to run, despite the wiki's directions.
    Last edited by MGage (2015-06-02 16:33:38)

    Here is the process of a simple C++ program:
    Firstly, the actual code. Now, I'm using a C++ "Hello World" as an example, as shown here:
    #include <iostream>
    int main() {
    std::cout << "Hello world!\n";
    return 0;
    And then I (try) to compile with GCC,using the command:
    gcc test.cpp -o output-file
    And lastly, here is the output, albeit an error-prone output, of the "Hello World":
    -*- mode: compilation; default-directory: "/crstfnos-ui/build-1/" -*-
    Compilation started at Sun May 31 23:14:45
    gcc test.cpp -o output
    /tmp/cc42ifJt.o: In function `main':
    test.cpp:(.text+0xa): undefined reference to `std::cout'
    test.cpp:(.text+0xf): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
    /tmp/cc42ifJt.o: In function `__static_initialization_and_destruction_0(int, int)':
    test.cpp:(.text+0x3d): undefined reference to `std::ios_base::Init::Init()'
    test.cpp:(.text+0x4c): undefined reference to `std::ios_base::Init::~Init()'
    collect2: error: ld returned 1 exit status
    Compilation exited abnormally with code 1 at Sun May 31 23:14:47
    Again, not sure if this is an Arch, Emacs, GCC, or operator-malfunction. My initial goal was to build a very basic X window unit but obviously that tutorial couldn't be compiled, as seen above. Since my last posting I have managed to grab ahold of Xfce4 as my DE.

  • [Solved] Compiling a new kernel with ABS

    I've made it through the whole process outlined in the wiki, up to installing with pacman.  Pacman is telling me that the stock arch kernel is a conflicting package and wants to remove it.  I want to hang on to it in case I've messed something up.  What am I doing wrong?  I know you can have two kernels installed.  Using the traditional way I can get this, but I'd rather keep to doing things The Arch Way.
    Last edited by Morrvick (2011-11-17 00:40:30)

    I double checked what I was doing, and I have done that.  Here is my modified PKGBUILD:
    # $Id: PKGBUILD 130991 2011-07-09 12:23:51Z thomas $
    # Maintainer: Tobias Powalowski <[email protected]>
    # Maintainer: Thomas Baechler <[email protected]>
    pkgbase=linux
    #pkgname=('linux' 'linux-headers' 'linux-docs') # Build stock -ARCH kernel
    pkgname=('linux-morrvick' 'linux-headers-morrvick') # Build kernel with a different name
    _kernelname=${pkgname#linux}
    _basekernel=3.1
    pkgver=${_basekernel}.1
    pkgrel=1
    arch=('i686' 'x86_64')
    url="http://www.kernel.org/"
    license=('GPL2')
    makedepends=('xmlto' 'docbook-xsl')
    options=('!strip')
    source=("http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.1.tar.xz"
    "http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
    # the main kernel config files
    'config' 'config.x86_64'
    # standard config files for mkinitcpio ramdisk
    "${pkgname}.preset"
    'change-default-console-loglevel.patch'
    'i915-fix-ghost-tv-output.patch'
    'i915-fix-incorrect-error-message.patch'
    'usb-add-reset-resume-quirk-for-several-webcams.patch')
    md5sums=('edbdc798f23ae0f8045c82f6fa22c536'
    '2bf7eb28a58238e1a062fa7393bf7824'
    'cbaaa923f00c1935055273ccc1630144'
    '93687a4b7e1e6bcd4e7417d6e5079bc4'
    'eb14dcfd80c00852ef81ded6e826826a'
    '9d3c56a4b999c8bfbd4018089a62f662'
    '263725f20c0b9eb9c353040792d644e5'
    'a50c9076012cb2dda49952dc6ec3e9c1'
    '52d41fa61e80277ace2b994412a0c856')
    build() {
    cd "${srcdir}/linux-${_basekernel}"
    # add upstream patch
    patch -p1 -i "${srcdir}/patch-${pkgver}"
    # add latest fixes from stable queue, if needed
    # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
    # Some chips detect a ghost TV output
    # mailing list discussion: http://lists.freedesktop.org/archives/intel-gfx/2011-April/010371.html
    # Arch Linux bug report: FS#19234
    # It is unclear why this patch wasn't merged upstream, it was accepted,
    # then dropped because the reasoning was unclear. However, it is clearly
    # needed.
    patch -Np1 -i "${srcdir}/i915-fix-ghost-tv-output.patch"
    # In 3.1.1, a DRM_DEBUG message is falsely declared as DRM_ERROR. This
    # worries users, as this message is displayed even at loglevel 4. Fix
    # this.
    patch -Np1 -i "${srcdir}/i915-fix-incorrect-error-message.patch"
    # Add the USB_QUIRK_RESET_RESUME for several webcams
    # FS#26528
    patch -Np1 -i "${srcdir}/usb-add-reset-resume-quirk-for-several-webcams.patch"
    # set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
    # remove this when a Kconfig knob is made available by upstream
    # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
    patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
    if [ "${CARCH}" = "x86_64" ]; then
    cat "${srcdir}/config.x86_64" > ./.config
    else
    cat "${srcdir}/config" > ./.config
    fi
    if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    fi
    # set extraversion to pkgrel
    sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
    # get kernel version
    make prepare
    # load configuration
    # Configure the kernel. Replace the line below with one of your choice.
    #make menuconfig # CLI menu for configuration
    #make nconfig # new CLI menu for configuration
    make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    # ... or manually edit .config
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    yes "" | make config
    # build!
    make ${MAKEFLAGS} bzImage modules
    package_linux-morrvick() {
    pkgdesc="The Linux Kernel and modules"
    groups=('base')
    depends=('coreutils' 'linux-firmware' 'module-init-tools>=3.16' 'mkinitcpio>=0.7')
    optdepends=('crda: to set the correct wireless channels of your country')
    provides=('kernel26')
    conflicts=('kernel26')
    replaces=('kernel26')
    backup=("etc/mkinitcpio.d/${pkgname}.preset")
    install=${pkgname}.install
    cd "${srcdir}/linux-${_basekernel}"
    KARCH=x86
    # get kernel version
    _kernver="$(make kernelrelease)"
    mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
    make INSTALL_MOD_PATH="${pkgdir}" modules_install
    cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgname}"
    # add vmlinux
    install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux"
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -D -m644 "${srcdir}/${pkgname}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset"
    # set correct depmod command for install
    sed \
    -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
    -i "${startdir}/${pkgname}.install"
    sed \
    -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgname}\"|g" \
    -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgname}.img\"|g" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgname}-fallback.img\"|g" \
    -i "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset"
    # remove build and source links
    rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
    # remove the firmware
    rm -rf "${pkgdir}/lib/firmware"
    # gzip -9 all modules to save 100MB of space
    find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
    # make room for external modules
    ln -s "../extramodules-${_basekernel}${_kernelname:--ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
    # add real version for building modules and running depmod from post_install/upgrade
    mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}"
    echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}/version"
    package_linux-headers-morrvick() {
    pkgdesc="Header files and scripts for building modules for linux kernel"
    provides=('kernel26-headers')
    conflicts=('kernel26-headers')
    replaces=('kernel26-headers')
    mkdir -p "${pkgdir}/lib/modules/${_kernver}"
    cd "${pkgdir}/lib/modules/${_kernver}"
    ln -sf ../../../usr/src/linux-${_kernver} build
    cd "${srcdir}/linux-${_basekernel}"
    install -D -m644 Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/Makefile"
    install -D -m644 kernel/Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile"
    install -D -m644 .config \
    "${pkgdir}/usr/src/linux-${_kernver}/.config"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"
    for i in acpi asm-generic config crypto drm generated linux math-emu \
    media net pcmcia scsi sound trace video xen; do
    cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/"
    done
    # copy arch includes for external modules
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/x86"
    cp -a arch/x86/include "${pkgdir}/usr/src/linux-${_kernver}/arch/x86/"
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
    cp -a scripts "${pkgdir}/usr/src/linux-${_kernver}"
    # fix permissions on scripts dir
    chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel"
    cp arch/${KARCH}/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
    if [ "${CARCH}" = "i686" ]; then
    cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
    fi
    cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel/"
    # add headers for lirc package
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video"
    cp drivers/media/video/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/"
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102; do
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/${i}"
    cp -a drivers/media/video/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/${i}"
    done
    # add docbook makefile
    install -D -m644 Documentation/DocBook/Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
    # add dm headers
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
    cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
    # add inotify.h
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/linux"
    cp include/linux/inotify.h "${pkgdir}/usr/src/linux-${_kernver}/include/linux/"
    # add wireless headers
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
    cp net/mac80211/*.h "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core"
    cp drivers/media/dvb/dvb-core/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/"
    # and...
    # http://bugs.archlinux.org/task/11194
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
    cp include/config/dvb/*.h "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
    # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
    # in reference to:
    # http://bugs.archlinux.org/task/13146
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/"
    cp drivers/media/dvb/frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/"
    cp drivers/media/video/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/"
    # add dvb headers
    # in reference to:
    # http://bugs.archlinux.org/task/20402
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb"
    cp drivers/media/dvb/dvb-usb/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb/"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends"
    cp drivers/media/dvb/frontends/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners"
    cp drivers/media/common/tuners/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/tuners/"
    # add xfs and shmem for aufs building
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm"
    cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h"
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`
    cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}"
    done
    chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}"
    find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \;
    # strip scripts directory
    find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
    case "$(file -bi "${binary}")" in
    *application/x-sharedlib*) # Libraries (.so)
    /usr/bin/strip ${STRIP_SHARED} "${binary}";;
    *application/x-archive*) # Libraries (.a)
    /usr/bin/strip ${STRIP_STATIC} "${binary}";;
    *application/x-executable*) # Binaries
    /usr/bin/strip ${STRIP_BINARIES} "${binary}";;
    esac
    done
    # remove unneeded architectures
    rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
    package_linux-docs() {
    pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel."
    provides=('kernel26-docs')
    conflicts=('kernel26-docs')
    replaces=('kernel26-docs')
    cd "${srcdir}/linux-${_basekernel}"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}"
    cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}"
    find "${pkgdir}" -type f -exec chmod 444 {} \;
    find "${pkgdir}" -type d -exec chmod 755 {} \;
    # remove a file already in linux package
    rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
    After the compiling is finished:
    sudo pacman -U linux-morrvick-3.1.1-1-x86_64.pkg.tar.xz
    Password:
    resolving dependencies...
    looking for inter-conflicts...
    :: linux-morrvick and linux are in conflict (kernel26). Remove linux? [y/N] n
    error: unresolvable package conflicts detected
    error: failed to prepare transaction (conflicting dependencies)
    :: linux-morrvick and linux are in conflict (kernel26)
    Any thoughts?

  • [SOLVED]compile error w3m 0.5.3 with mouse support

    Hi Friends. i'm Trying to compile w3m test based browser with mouse support. I donwloaded the latest source available from sourceforge website.The ./configure runs correctly and produces no errors. but when I run make, it gives me the following error. (other users on internet say that they have compiled it flawlessly).The error message is:
    gcc  -I. -I. -g -O2 -I./libwc    -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/usr/local/libexec/w3m\" -DCGIBIN_DIR=\"/usr/local/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/usr/local/share/w3m\" -DETC_DIR=\"/usr/local/etc\" -DCONF_DIR=\"/usr/local/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/usr/local/share/locale\"   -c -o main.o main.c
    In file included from html.h:10:0,
                     from fm.h:39,
                     from main.c:3:
    istream.h:23:8: error: redefinition of ‘struct file_handle’
    In file included from /usr/include/fcntl.h:32:0,
                     from istream.h:14,
                     from html.h:10,
                     from fm.h:39,
                     from main.c:3:
    /usr/include/bits/fcntl.h:251:8: note: originally defined here
    main.c: In function ‘main’:
    main.c:836:23: error: void value not ignored as it ought to be
    main.c: In function ‘getChar’:
    main.c:2264:5: warning: passing argument 1 of ‘wtf_parse1’ from incompatible pointer type [enabled by default]
    In file included from fm.h:44:0,
                     from main.c:3:
    ./libwc/wtf.h:71:19: note: expected ‘wc_uchar **’ but argument is of type ‘char **’
    make: *** [main.o] Error 1
    Also, can you tell me which option to use to compile with mouse support? Thanks.
    Last edited by Pranavg1890 (2012-10-11 18:12:35)

    i tried enabling and disabling the mouse support. but makepkg give me this error:
    config.status: creating po/Makefile
    gcc -I. -I. -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I./libwc -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/usr/lib/w3m\" -DCGIBIN_DIR=\"/usr/lib/w3m/cgi-bin\" -DHELP_DIR=\"/usr/share/w3m\" -DETC_DIR=\"/usr/etc\" -DCONF_DIR=\"/usr/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/usr/share/locale\" -c -o main.o main.c
    main.c: In function ‘main’:
    main.c:836:23: error: void value not ignored as it ought to be
    main.c: In function ‘getChar’:
    main.c:2264:5: warning: passing argument 1 of ‘wtf_parse1’ from incompatible pointer type [enabled by default]
    In file included from fm.h:44:0,
    from main.c:3:
    ./libwc/wtf.h:71:19: note: expected ‘wc_uchar **’ but argument is of type ‘char **’
    main.c: In function ‘handleMailto’:
    main.c:2953:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
    main.c: In function ‘editScr’:
    main.c:2661:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
    main.c: In function ‘editBf’:
    main.c:2638:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
    main.c: In function ‘execsh’:
    main.c:2091:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
    make: *** [main.o] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    Someone please help me. I need mouse support for this browser very badly. Maybe a programming expert can tell me what changes should i do to source code or what is wrong?

Maybe you are looking for

  • Need help in the use of 'setVisible()'

    Well i am having some problems using the setVisible() method. what i want to do is to have a textfield appear when a button is clicked. It have a button and a textfield and i add it in the init() method. i also added a actionlistener to the button an

  • Need info about GN_INVOICE_CREATE

    Hi experts! I need to create Credit / Debit memo invoices in my Z program, so I decided to use GN_INVOICE_CREATE for this, but can not find info about parametres of this FM.... could anyone explaine how to use this FM or maybe someone has a peace of

  • XI Pre-Installation phase

    Hi Experts, We are in the phase of installatng XI 3.0. For that we have ABAP+JAVA. Now the main problem is to configure the SLD. But the sub problem is that in UME(http://<host>:<port> we are not able to create user and assign group SAP_SLD_ADMINISTR

  • "Mark In" Issues - Adobe Premiere Pro CS5.5

    Hello everyone, When I attempt to use the mark in button (to select a portion of the video from the source video), it does not work. It also deletes a part of video and audio from the timeline. I have tried "Clearing in and out" and everything else I

  • What parameters need to pass for BAPI_PSPSRVAPS_SAVEMULTI?

    Hi I have to create a product substitution list using BAPI_PSPSRVAPS_SAVEMULTI . I have tried lot by passing parmaeters. Can anyone please tell me the exact parameters which need to be passed for creating a product substitution list. once it is creat