Building mesa with OpenCl support [Solved]

Hi,
I am trying to use OpenCl with the current mesa drivers as it is explained in this post from freedesktop: GalliumCompute, but when I try to install my own build of mesa with OpenCl it fails due to some conflicting files.
If we follow the post, we can see that we need:
- LLVM with '--enable-experimental-targets=R600', but the stable repo already provides this so we are fine.
- Libclc can be found in AUR: libclc-svn
- Mesa with '--enable-opencl'. This has to be built manually with ABS adding the flag to the PKGBUILD.
But when I try to install the generated packages I get an error because there are conflicting files:
error: failed to commit transaction (conflicting files)
mesa: /usr/include/CL/cl.h exists in filesystem
mesa: /usr/include/CL/cl.hpp exists in filesystem
mesa: /usr/include/CL/cl_ext.h exists in filesystem
mesa: /usr/include/CL/cl_gl.h exists in filesystem
mesa: /usr/include/CL/cl_gl_ext.h exists in filesystem
mesa: /usr/include/CL/cl_platform.h exists in filesystem
mesa: /usr/include/CL/opencl.h exists in filesystem
mesa: /usr/lib/libOpenCL.so exists in filesystem
mesa: /usr/lib/libOpenCL.so.1 exists in filesystem
mesa: /usr/lib/libOpenCL.so.1.0.0 exists in filesystem
Errors occurred, no packages were upgraded.
Checking with 'pacman -Qo' I have found that the headers come from 'opencl-headers' and the shared objects from 'libcl'.
So, is there a way to install mesa with OpenCl support?
Thanks in advance.
Last edited by Noxbru (2013-09-30 16:13:18)

Lordheavy's git packages are setup to make switching between mesa-git and mesa easy, so include provides/conflicts/replaces lines in the PKGBUILDs to ease substiution.
No need to uninstall mesa.
Mesa is a split package, and you should replace all parts of it.
If you run pacman -S mesa-git , there should be errors because all parts need to have been build against the same source,
but i don't know if pacman handles that correctly.
To be on the safe side, you should tell pacman to install ati-dri-git instead as that will pull the other necessary mesa-git subpackages.
about the files from opencl-headers & libcl :
mesa-git incudes opencl-mesa-git which does provide those files, but libclc-git doesn't have opencl-mesa-git as dependency.
I think the full command you should use is : pacman -S ati-dri-git opencl-mesa-git libclc-git .
That should pull in all needed pacakges and not give any conflicts.
Edit :
The PKGBUILD for LH's mesa-git are in http://pkgbuild.com/~lcarlier/mesa-git/sources/ .
I looked directly into the sources to verify what i posted above.
Last edited by Lone_Wolf (2013-09-30 11:57:12)

Similar Messages

  • Build failure when trying to build haproxy with SSL support.

    Hello everybody,
    I don't know if this is the right "context" to submit this question.
    How ever I'm having problem with building haproxy 1.5.5 with SSL support.
    I'm running SLES 11 SP3 with the latest updates via YAST2.
    Building without SSL support works fine.
    I use the syntax:
    make TARGET=linux2628 USE_OPENSSL=1
    And here is the output:
    gcc -Iinclude -Iebtree -Wall -O2 -g -fno-strict-aliasing -DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY -DCONFIG_HAP_CRYPT -DENABLE_POLL -DENABLE_EPOLL -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER -DUSE_GETSOCKNAME -DUSE_OPENSSL -DUSE_SYSCALL_FUTEX -DCONFIG_HAPROXY_VERSION=\"1.5.5\" -DCONFIG_HAPROXY_DATE=\"2014/10/07\" \
    -DBUILD_TARGET='"linux2628"' \
    -DBUILD_ARCH='""' \
    -DBUILD_CPU='"generic"' \
    -DBUILD_CC='"gcc"' \
    -DBUILD_CFLAGS='"-O2 -g -fno-strict-aliasing"' \
    -DBUILD_OPTIONS='"USE_OPENSSL=1"' \
    -c -o src/haproxy.o src/haproxy.c
    In file included from include/types/acl.h:33,
    from include/types/proxy.h:40,
    from include/proto/log.h:32,
    from includehttps://www.novell.comhttps://www.novell.comhttps://www.novell.comhttps://www.novell.com/common/cfgparse.h:29,
    from src/haproxy.c:61:
    include/types/server.h:29:25: error: openssl/ssl.h: No such file or directory
    In file included from include/types/connection.h:30,
    from include/types/server.h:36,
    from include/types/acl.h:33,
    from include/types/proxy.h:40,
    from include/proto/log.h:32,
    from includehttps://www.novell.comhttps://www.novell.comhttps://www.novell.comhttps://www.novell.com/common/cfgparse.h:29,
    from src/haproxy.c:61:
    include/types/listener.h:127: error: expected specifier-qualifier-list before SSL_CTX
    In file included from include/types/acl.h:33,
    from include/types/proxy.h:40,
    from include/proto/log.h:32,
    from includehttps://www.novell.comhttps://www.novell.comhttps://www.novell.comhttps://www.novell.com/common/cfgparse.h:29,
    from src/haproxy.c:61:
    include/types/server.h:207: error: expected specifier-qualifier-list before SSL_CTX
    In file included from src/haproxy.c:90:
    include/proto/listener.h: In function bind_conf_alloc:
    include/proto/listener.h:130: error: struct bind_conf has no member named file
    include/proto/listener.h:131: error: struct bind_conf has no member named line
    include/proto/listener.h:133: error: struct bind_conf has no member named by_fe
    include/proto/listener.h:133: error: struct bind_conf has no member named by_fe
    include/proto/listener.h:133: error: struct bind_conf has no member named by_fe
    include/proto/listener.h:133: error: struct bind_conf has no member named by_fe
    include/proto/listener.h:133: error: struct bind_conf has no member named by_fe
    include/proto/listener.h:135: error: struct bind_conf has no member named arg
    include/proto/listener.h:137: error: struct bind_conf has no member named ux
    include/proto/listener.h:138: error: struct bind_conf has no member named ux
    include/proto/listener.h:139: error: struct bind_conf has no member named ux
    include/proto/listener.h:141: error: struct bind_conf has no member named listeners
    include/proto/listener.h:141: error: struct bind_conf has no member named listeners
    include/proto/listener.h:141: error: struct bind_conf has no member named listeners
    In file included from src/haproxy.c:107:
    include/proto/ssl_sock.h: At top level:
    include/proto/ssl_sock.h:46: error: expected declaration specifiers or ... before SSL_CTX
    src/haproxy.c: In function display_build_opts:
    src/haproxy.c:272: error: expected ) before OPENSSL_VERSION_TEXT
    src/haproxy.c:274: warning: implicit declaration of function SSLeay_version
    src/haproxy.c:274: error: SSLEAY_VERSION undeclared (first use in this function)
    src/haproxy.c:274: error: (Each undeclared identifier is reported only once
    src/haproxy.c:274: error: for each function it appears in.)
    src/haproxy.c:275: error: OPENSSL_VERSION_NUMBER undeclared (first use in this function)
    src/haproxy.c:275: warning: implicit declaration of function SSLeay
    src/haproxy.c:275: warning: format %s expects type char *, but argument 2 has type int
    src/haproxy.c: In function deinit:
    src/haproxy.c:1188: error: struct bind_conf has no member named by_fe
    src/haproxy.c:1188: error: struct bind_conf has no member named by_fe
    src/haproxy.c:1188: error: struct bind_conf has no member named by_fe
    src/haproxy.c:1188: warning: left-hand operand of comma expression has no effect
    src/haproxy.c:1188: error: struct bind_conf has no member named by_fe
    src/haproxy.c:1188: error: struct bind_conf has no member named by_fe
    src/haproxy.c:1188: error: struct bind_conf has no member named by_fe
    src/haproxy.c:1196: error: struct bind_conf has no member named file
    src/haproxy.c:1197: error: struct bind_conf has no member named arg
    src/haproxy.c:1198: error: struct bind_conf has no member named by_fe
    src/haproxy.c:1198: warning: type defaults to int in declaration of __ret
    src/haproxy.c:1198: error: struct bind_conf has no member named by_fe
    src/haproxy.c:1198: error: struct bind_conf has no member named by_fe
    src/haproxy.c:1198: error: struct bind_conf has no member named by_fe
    src/haproxy.c:1198: error: struct bind_conf has no member named by_fe
    src/haproxy.c:1198: error: struct bind_conf has no member named by_fe
    make: *** [src/haproxy.o] Error 1
    I'm I missing some libs or sources from OpenSSL ?
    And/or need to point them out so that make/gcc can find them?
    I have copy haproxy from another machine where I did the build process on.
    But I would like to be able to build it on my SLES 11 SP3 installation.
    Thank you in advance.

    Originally Posted by smflood
    On 17/10/2014 15:36, mattias bjork wrote:
    > I don't know if this is the right "context" to submit this question.
    >
    > How ever I'm having problem with building haproxy 1.5.5 with SSL
    > support.
    >
    > I'm running SLES 11 SP3 with the latest updates via YAST2.
    >
    > Building without SSL support works fine.
    >
    > I use the syntax:
    >
    > make TARGET=linux2628 USE_OPENSSL=1
    >
    > And here is the output:
    >
    > gcc -Iinclude -Iebtree -Wall -O2 -g -fno-strict-aliasing
    > -DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY
    > -DCONFIG_HAP_CRYPT -DENABLE_POLL -DENABLE_EPOLL -DUSE_CPU_AFFINITY
    > -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER -DUSE_GETSOCKNAME
    > -DUSE_OPENSSL -DUSE_SYSCALL_FUTEX -DCONFIG_HAPROXY_VERSION=\"1.5.5\"
    > -DCONFIG_HAPROXY_DATE=\"2014/10/07\" \
    > -DBUILD_TARGET='"linux2628"' \
    > -DBUILD_ARCH='""' \
    > -DBUILD_CPU='"generic"' \
    > -DBUILD_CC='"gcc"' \
    > -DBUILD_CFLAGS='"-O2 -g -fno-strict-aliasing"' \
    > -DBUILD_OPTIONS='"USE_OPENSSL=1"' \
    > -c -o src/haproxy.o src/haproxy.c
    > In file included from include/types/acl.h:33,
    > from include/types/proxy.h:40,
    > from include/proto/log.h:32,
    > from
    > includehttps://www.novell.comhttps://www.novell.comhttps://www.novell.comhttps://www.novell.comhttps://www.novell.comhttps://www.novell.com/common/cfgparse.h:29,
    > from src/haproxy.c:61:
    > include/types/server.h:29:25: error: openssl/ssl.h: No such file or
    > directory
    > In file included from include/types/connection.h:30,
    > from include/types/server.h:36,
    > from include/types/acl.h:33,
    > from include/types/proxy.h:40,
    > from include/proto/log.h:32,
    > from
    > includehttps://www.novell.comhttps://www.novell.comhttps://www.novell.comhttps://www.novell.comhttps://www.novell.comhttps://www.novell.com/common/cfgparse.h:29,
    > from src/haproxy.c:61:
    > include/types/listener.h:127: error: expected specifier-qualifier-list
    > before �SSL_CTX�
    > In file included from include/types/acl.h:33,
    > from include/types/proxy.h:40,
    > from include/proto/log.h:32,
    > from
    > includehttps://www.novell.comhttps://www.novell.comhttps://www.novell.comhttps://www.novell.comhttps://www.novell.comhttps://www.novell.com/common/cfgparse.h:29,
    > from src/haproxy.c:61:
    > include/types/server.h:207: error: expected specifier-qualifier-list
    > before �SSL_CTX�
    > In file included from src/haproxy.c:90:
    > include/proto/listener.h: In function �bind_conf_alloc�:
    > include/proto/listener.h:130: error: �struct bind_conf� has no member
    > named �file�
    > include/proto/listener.h:131: error: �struct bind_conf� has no member
    > named �line�
    > include/proto/listener.h:133: error: �struct bind_conf� has no member
    > named �by_fe�
    > include/proto/listener.h:133: error: �struct bind_conf� has no member
    > named �by_fe�
    > include/proto/listener.h:133: error: �struct bind_conf� has no member
    > named �by_fe�
    > include/proto/listener.h:133: error: �struct bind_conf� has no member
    > named �by_fe�
    > include/proto/listener.h:133: error: �struct bind_conf� has no member
    > named �by_fe�
    > include/proto/listener.h:135: error: �struct bind_conf� has no member
    > named �arg�
    > include/proto/listener.h:137: error: �struct bind_conf� has no member
    > named �ux�
    > include/proto/listener.h:138: error: �struct bind_conf� has no member
    > named �ux�
    > include/proto/listener.h:139: error: �struct bind_conf� has no member
    > named �ux�
    > include/proto/listener.h:141: error: �struct bind_conf� has no member
    > named �listeners�
    > include/proto/listener.h:141: error: �struct bind_conf� has no member
    > named �listeners�
    > include/proto/listener.h:141: error: �struct bind_conf� has no member
    > named �listeners�
    > In file included from src/haproxy.c:107:
    > include/proto/ssl_sock.h: At top level:
    > include/proto/ssl_sock.h:46: error: expected declaration specifiers or
    > �...� before �SSL_CTX�
    > src/haproxy.c: In function �display_build_opts�:
    > src/haproxy.c:272: error: expected �)� before �OPENSSL_VERSION_TEXT�
    > src/haproxy.c:274: warning: implicit declaration of function
    > �SSLeay_version�
    > src/haproxy.c:274: error: �SSLEAY_VERSION� undeclared (first use in this
    > function)
    > src/haproxy.c:274: error: (Each undeclared identifier is reported only
    > once
    > src/haproxy.c:274: error: for each function it appears in.)
    > src/haproxy.c:275: error: �OPENSSL_VERSION_NUMBER� undeclared (first use
    > in this function)
    > src/haproxy.c:275: warning: implicit declaration of function �SSLeay�
    > src/haproxy.c:275: warning: format �%s� expects type �char *�, but
    > argument 2 has type �int�
    > src/haproxy.c: In function �deinit�:
    > src/haproxy.c:1188: error: �struct bind_conf� has no member named
    > �by_fe�
    > src/haproxy.c:1188: error: �struct bind_conf� has no member named
    > �by_fe�
    > src/haproxy.c:1188: error: �struct bind_conf� has no member named
    > �by_fe�
    > src/haproxy.c:1188: warning: left-hand operand of comma expression has
    > no effect
    > src/haproxy.c:1188: error: �struct bind_conf� has no member named
    > �by_fe�
    > src/haproxy.c:1188: error: �struct bind_conf� has no member named
    > �by_fe�
    > src/haproxy.c:1188: error: �struct bind_conf� has no member named
    > �by_fe�
    > src/haproxy.c:1196: error: �struct bind_conf� has no member named
    > �file�
    > src/haproxy.c:1197: error: �struct bind_conf� has no member named �arg�
    > src/haproxy.c:1198: error: �struct bind_conf� has no member named
    > �by_fe�
    > src/haproxy.c:1198: warning: type defaults to �int� in declaration of
    > �__ret�
    > src/haproxy.c:1198: error: �struct bind_conf� has no member named
    > �by_fe�
    > src/haproxy.c:1198: error: �struct bind_conf� has no member named
    > �by_fe�
    > src/haproxy.c:1198: error: �struct bind_conf� has no member named
    > �by_fe�
    > src/haproxy.c:1198: error: �struct bind_conf� has no member named
    > �by_fe�
    > src/haproxy.c:1198: error: �struct bind_conf� has no member named
    > �by_fe�
    > make: *** [src/haproxy.o] Error 1
    >
    >
    > I'm I missing some libs or sources from OpenSSL ?
    >
    > And/or need to point them out so that make/gcc can find them?
    >
    > I have copy haproxy from another machine where I did the build process
    > on.
    >
    > But I would like to be able to build it on my SLES 11 SP3 installation.
    So you're trying to build HAProxy 1.5.5 from source?
    Do you have libopenssl and libopenssl-devel installed? What does "rpm
    -qa | grep ssl" report?
    You might have better luck installing HAProxy 1.5.5 already built for
    SLES11 SP3 via the openSUSE Build Service @
    https://build.opensuse.org/package/s...ackage=haproxy
    HTH.
    Simon
    Novell Knowledge Partner
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.
    Hello Simon,
    Yes I'm trying to build it from source.
    Unfortunately I don't have them installed.
    Here is the output:
    sudo -i rpm -qa | grep -i ssl
    openssl-0.9.8j-0.62.1
    libopenssl0_9_8-0.9.8j-0.62.1
    libopenssl0_9_8-32bit-0.9.8j-0.62.1
    perl-IO-Socket-SSL-1.38-5.2.2
    perl-Net-SSLeay-1.35-2.14
    openssl-certs-1.97-0.3.1
    Thank you for your speedy reply.

  • Building pidgin with meanwhile support from ABS failing

    I've been building pidgin manually from ABS in order to incorporate meanwhile support for use on IBM Lotus Sametime. This entails editing pidgin's PKGBUILD and removing this line:
    --disable-meanwhile \
    Then I simply run `makepkg -si`. Recently (last week and after trying again today after a fresh pacman -Syu), I get this fail in the build:
    Making all in sametime
    make[5]: Entering directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple/protocols/sametime'
    CC libsametime_la-sametime.lo
    In file included from /usr/include/meanwhile/mw_srvc_conf.h:25:0,
    from sametime.c:57:
    /usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
    In file included from /usr/include/meanwhile/mw_srvc_place.h:25:0,
    from sametime.c:60:
    /usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
    In file included from /usr/include/meanwhile/mw_srvc_resolve.h:26:0,
    from sametime.c:61:
    /usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
    In file included from /usr/include/meanwhile/mw_st_list.h:32:0,
    from sametime.c:63:
    /usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
    sametime.c: In function 'blist_merge':
    sametime.c:989:16: warning: variable 'buddy' set but not used [-Wunused-but-set-variable]
    sametime.c: In function 'blist_node_menu_cb':
    sametime.c:1340:16: warning: variable 'group' set but not used [-Wunused-but-set-variable]
    sametime.c: In function 'mw_conf_peer_joined':
    sametime.c:2033:21: warning: variable 'gc' set but not used [-Wunused-but-set-variable]
    sametime.c: In function 'mw_conf_peer_parted':
    sametime.c:2059:21: warning: variable 'gc' set but not used [-Wunused-but-set-variable]
    sametime.c: In function 'mw_place_peerJoined':
    sametime.c:3053:21: warning: variable 'gc' set but not used [-Wunused-but-set-variable]
    sametime.c: In function 'mw_place_peerParted':
    sametime.c:3078:21: warning: variable 'gc' set but not used [-Wunused-but-set-variable]
    make[5]: *** [libsametime_la-sametime.lo] Error 1
    make[5]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple/protocols/sametime'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple/protocols'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    If I build with --disable-meanwhile present, it succeeds. Something is occurring when I try to being in meanwhile support, which I believe entails libpurple integration.
    Any suggestions on debugging further?

    You need to fix the source files with something like
    sed -i 's|glib/*.h|glib.h|' src/*
    There have been several similar errrors with builds of other packages.  I don't know the details, but I gather glib has been revised  such that there is now a single unified glib.h that should be included in source files.
    EDIT: you'll have to edit the target files in the sed command as there is a deeper tree structure than src/*, but I'll let you sort that out.  Once done, this sed command can be added to the PKGBUILD.
    Last edited by Trilby (2012-05-08 18:39:40)

  • Building gdal with OCI support- seems to work manually, not in makepkg

    I'm attempting to rebuild the gdal package under x86_64 with Oracle Spatial support at the latest version (1.9.2) (the version in community is at 1.9.0 right now and does not include Oracle support).
    gdal uses the standard autoconf/automake toolchain for its build process, and allows users to specify which external libraries they want to link in the configure script.  To enable Oracle Spatial support in gdal, one would pass the --with-oci option to configure.  This works fine for me and detects the contents of my oracle-instantclient-basic and oracle-instantclient-sdk packages (aur packages containing the necessary Oracle libs and headers) when I do it manually, i.e.:
    ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \
    --with-geotiff --with-mysql --with-python --without-libtool --with-curl \
    --with-hdf5 --with-perl --with-geos --with-png \
    --with-oci
    However, when the exact same line runs inside of the build() function of a makepkg run, the configure script fails to detect the OCI libraries.  I know that the configure script is supposed to work by reading the ORACLE_HOME environment variable to find the necessary Oracle libraries and headers, and I've double-checked that this environment variable is being set properly inside of the makepkg run with a couple of echo statements before the configure line is run. 
    Is there something else that I could be missing about the environment variables or build context inside of makepkg that could be causing this?  I've already looked through /etc/makepkg.conf and couldn't find anything that would seem to make a difference, but I'll readily admit that I don't have a ton of knowledge about the autotools library detection process other than the fact that I've built a few packages with the toolchain.
    Any help/ideas would be greatly appreciated.  Here's the PKGBUILD I'm using if you want to try it for yourself (based off of gdal 1.9.0-1 in community): https://gist.github.com/3920468

    I'm attempting to rebuild the gdal package under x86_64 with Oracle Spatial support at the latest version (1.9.2) (the version in community is at 1.9.0 right now and does not include Oracle support).
    gdal uses the standard autoconf/automake toolchain for its build process, and allows users to specify which external libraries they want to link in the configure script.  To enable Oracle Spatial support in gdal, one would pass the --with-oci option to configure.  This works fine for me and detects the contents of my oracle-instantclient-basic and oracle-instantclient-sdk packages (aur packages containing the necessary Oracle libs and headers) when I do it manually, i.e.:
    ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \
    --with-geotiff --with-mysql --with-python --without-libtool --with-curl \
    --with-hdf5 --with-perl --with-geos --with-png \
    --with-oci
    However, when the exact same line runs inside of the build() function of a makepkg run, the configure script fails to detect the OCI libraries.  I know that the configure script is supposed to work by reading the ORACLE_HOME environment variable to find the necessary Oracle libraries and headers, and I've double-checked that this environment variable is being set properly inside of the makepkg run with a couple of echo statements before the configure line is run. 
    Is there something else that I could be missing about the environment variables or build context inside of makepkg that could be causing this?  I've already looked through /etc/makepkg.conf and couldn't find anything that would seem to make a difference, but I'll readily admit that I don't have a ton of knowledge about the autotools library detection process other than the fact that I've built a few packages with the toolchain.
    Any help/ideas would be greatly appreciated.  Here's the PKGBUILD I'm using if you want to try it for yourself (based off of gdal 1.9.0-1 in community): https://gist.github.com/3920468

  • Building GDAL with geoRaster support in Linux

    Please forgive me if this has been posted before (I did search but did not find a match) or if considered off topic.
    In the past I have only used GDAL + Oracle instant client + GeoRaster on the Windows platform. I’m looking to run it on Linux but have spent hours trying to build it... and it seems to be a straightforward process. (note I am trying to build on Ubuntu but will also be doing the same on RedHat based system). Using GDAL 1.7.2 and Oracle instant client 11.2
    ** Downloaded:
    instantclient-basic-linux32-11.2.0.1.zip
    instantclient-sdk-linux32-11.2.0.1.zip
    instantclient-sqlplus-linux32-11.2.0.1.zip
    and unzipped these.
    ** Set the following environment variables:
    LD_LIBRARY_PATH=/home/matt/instantclient_11_2
    ORACLE_HOME=/home/matt/instantclient_11_2
    NLS_LANG=American_America.WE8ISO8859P1
    ** created symbolic links:
    ln -s libclntsh.so.11.1 libclntsh.so
    ln -s libocci.so.11.1 libocci.so
    ** run the ./configure script in GDAL directory from command line:
    matt@bandicoot:~/gdal-1.7.2$ ./configure with-oci=/home/matt/instantclient_11_2 with-oci-include=/home/matt/instantclient_11_2/sdk/include --with-oci-lib=/home/matt/instantclient_11_2
    Am I missing something?
    Cheers,
    MH

    I have the following from the log file:
    configure:19846: checking for Oracle OCI headers in
    configure:19879: g++ -c -g -O2 -I/usr/lib/oracle/11.2/client/rdbms/public -I/usr/lib/oracle/11.2/client/rdbms/demo -I/usr/lib/oracle/11.2/client/sdk/include conftest.cpp >&5
    conftest.cpp:57:29: error: oci.h: No such file or directory
    conftest.cpp:70:4: error: #error Oracle oci.h header not found
    configure:19879: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR ".libs/"
    | #define HAVE_LIBDL 1
    | #define HAVE_LIBRT 1
    | #define HAVE_LIBM 1
    | #define STDC_HEADERS 1
    | #define HAVE_ASSERT_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOCALE_H 1
    | #define HAVE_VALUES_H 1
    | #define HAVE_FLOAT_H 1
    | #define HAVE_ERRNO_H 1
    | #define HAVE_LONG_LONG 1
    | #define UNIX_STDIO_64 1
    | #define VSI_LARGE_API_SUPPORTED 1
    | #define VSI_FTELL64 ftello64
    | #define VSI_FSEEK64 fseeko64
    | #define VSI_STAT64 stat64
    | #define VSI_STAT64_T stat64
    | #define VSI_FOPEN64 fopen64
    | #define SIZEOF_INT 4
    | #define SIZEOF_UNSIGNED_LONG 4
    | #define SIZEOF_VOIDP 4
    | #define HAVE_IEEEFP 1
    | #define HOST_FILLORDER FILLORDER_LSB2MSB
    | #define HAVE_VPRINTF 1
    | #define HAVE_SNPRINTF 1
    | #define HAVE_VSNPRINTF 1
    | #define HAVE_ATOLL 1
    | #define HAVE_STRTOF 1
    | #define HAVE_GETCWD 1
    | #define HAVE_DECL_STRTOF 1
    | #define HAVE_GCC_ATOMIC_BUILTINS 1
    | /* end confdefs.h. */
    |
    | #include <oci.h>
    | int
    | main ()
    | {
    |
    | #if defined(OCI_MAJOR_VERSION)
    | #if OCI_MAJOR_VERSION == 10 && OCI_MINOR_VERSION == 2
    | // Oracle 10.2 detected
    | #endif
    | #elif defined(OCI_V7_SYNTAX)
    | // OK, older Oracle detected
    | // TODO - mloskot: find better macro to check for older versions;
    | #else
    | # error Oracle oci.h header not found
    | #endif
    |
    |
    | ;
    | return 0;
    | }
    configure:19898: result: header not found
    configure:20041: checking if Oracle support is enabled
    configure:20055: result: no
    configure:21294: checking if Oracle support is enabled
    configure:21308: result: no
    Note that on the system I am using, the oci.h file is in /usr/include/oracle/11.2/client
    Is the configure script looking for a "certain" directory structure?
    I'm surprised that you haven't tried the instant client before, it is a very popular that people often use on a machine separate from the database machine.
    Cheers,

  • LLL - building Linux with LLVM/Clang [Solved]

    Hi all
    I have attempted to package the LLL tool chain in AUR
    https://aur.archlinux.org/packages/lll- … t/PKGBUILD
    In a way, I find it unsatisfactory big and bulky (I am more than willing to disown it to let someone more qualified take over), since both Linux and LLVM are built in the same package.
    I guess it would be nicer with a (self-hosting) LLVM package and a Linux-LLL package depending on it....
    If anyone got ideas for improvements of the current package, I am all ears.
    I think it would be pretty cool to test out a Clang-compiled kernel and from the latest compiler benchmarks (http://phoronix.com/forums/showthread.p … al-results), it seems like Clang is almost as good as GCC or better when optimization flags are set.
    Last edited by W.F.Cody (2011-04-27 07:05:57)

    This has now (thanks to the lll-project git repository) now been solved (I think)
    The LLVM/Clang patched to be able to compile linux can be found at:
    https://aur.archlinux.org/packages.php?ID=45733
    The Linux kernel patched to be able to be compiled by LLVM/Clang can be found at:
    https://aur.archlinux.org/packages.php?ID=48519
    I have not yet had time to try to compile the linux kernel so there may have to be some changes to that package. Let me know if you have some suggested improvements
    Have fun!

  • Is there OpenCL support using Mesa Drivers?

    I have an AMD A10-7850K and would like to use OpenCL in Libreoffice and also other applications.
    What I have found in Libreoffice Calculator if I go to tools>options>OpenCL
    everything is fine
    in the subsection LibreOffice Calc>Formula
    I can set Custom (use OpenCL) but after closing it turns back to default.
    If i click Details and run the test all tests fail.
    According to http://dri.freedesktop.org/wiki/GalliumCompute/
    SeaIsland chips like mine should be supported.
    According to the wiki
    https://wiki.archlinux.org/index.php/Op … Gallium.29
    mesa is not built with opencl (2004)
    but when I look into the recent PKGBUILD i have opencl enabled
    ./configure --prefix=/usr \
    --sysconfdir=/etc \
    --with-dri-driverdir=/usr/lib/xorg/modules/dri \
    --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \
    --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
    --with-egl-platforms=x11,drm,wayland \
    --enable-llvm-shared-libs \
    --enable-egl \
    --enable-gbm \
    --enable-gallium-llvm \
    --enable-shared-glapi \
    --enable-glx \
    --enable-glx-tls \
    --enable-dri \
    --enable-osmesa \
    --enable-gles1 \
    --enable-gles2 \
    --enable-texture-float \
    --enable-xa \
    --enable-vdpau \
    --enable-omx \
    --enable-nine \
    [b] --enable-opencl --enable-opencl-icd \[/b]
    --with-clang-libdir=/usr/lib
    If i execute
    $ ls /etc/OpenCL/vendors
    i get mesa.icd
    if I run any opencl tests from
    http://dri.freedesktop.org/wiki/Gallium … /#index4h3
    all tests fail
    PS:
    blackout@h2o-Arch ~ % yaourt -Q | grep mesa
    multilib/lib32-mesa 10.5.2-1
    multilib/lib32-mesa-libgl 10.5.2-1
    extra/libva-mesa-driver 10.5.2-1
    extra/mesa 10.5.2-1
    extra/mesa-libgl 10.5.2-1
    extra/mesa-vdpau 10.5.2-1
    extra/opencl-mesa 10.5.2-1
    blackout@h2o-Arch ~ % ls /etc/OpenCL/vendors
    mesa.icd
    blackout@h2o-Arch ~ % yaourt -Q | grep libcl
    extra/libcl 1.1-4
    extra/libclc 0.0.1.231373-1
    It also doesn't work on my notebook using the nv50 driver which is also WIP
    http://www.x.org/wiki/GalliumStatus/
    PLEASE DON'T SUGGEST SWITCHING TO CATALYST!!! THX
    is there anything I have missed? any ideas?
    Thanks in advance guys & girls
    Last edited by blackout (2015-04-05 19:37:14)

    First of all thx for your reply
    blackout@blackArch ~ % dmesg | grep -i Microcode
    [ 0.375388] microcode: CPU0: patch_level=0x06003104
    [ 0.375393] microcode: CPU1: patch_level=0x06003104
    [ 0.375401] microcode: CPU2: patch_level=0x06003104
    [ 0.375409] microcode: CPU3: patch_level=0x06003104
    [ 0.375477] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
    [ 2.933799] [drm] Loading kaveri Microcode
    VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics] (prog-if 00 [VGA controller])
    Subsystem: ASRock Incorporation Device 130f
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 46
    Region 0: Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Region 2: Memory at d0000000 (64-bit, prefetchable) [size=8M]
    Region 4: I/O ports at f000 [size=256]
    Region 5: Memory at ff700000 (32-bit, non-prefetchable) [size=256K]
    Expansion ROM at ff740000 [disabled] [size=128K]
    Capabilities: [48] Vendor Specific Information: Len=08 <?>
    Capabilities: [50] Power Management version 3
    Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
    Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
    DevCap: MaxPayload 256 bytes, PhantFunc 0
    ExtTag+ RBE+
    DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
    RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
    MaxPayload 128 bytes, MaxReadReq 512 bytes
    DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
    DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
    DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Address: 00000000fee0f00c Data: 41e3
    Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [270 v1] #19
    Capabilities: [2b0 v1] Address Translation Service (ATS)
    ATSCap: Invalidate Queue Depth: 00
    ATSCtl: Enable-, Smallest Translation Unit: 00
    Capabilities: [2c0 v1] #13
    Capabilities: [2d0 v1] #1b
    Kernel driver in use: radeon
    Kernel modules: radeon
    clinfo gave me
    Number of platforms: 1
    Platform Profile: FULL_PROFILE
    Platform Version: OpenCL 1.2 AMD-APP (1411.4)
    Platform Name: AMD Accelerated Parallel Processing
    Platform Vendor: Advanced Micro Devices, Inc.
    Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices cl_amd_hsa
    Platform Name: AMD Accelerated Parallel Processing
    Number of devices: 2
    Device Type: CL_DEVICE_TYPE_GPU
    Device ID: 4098
    Board name: AMD Radeon(TM) R7 Graphics
    Device Topology: PCI[ B#0, D#1, F#0 ]
    Max compute units: 8
    Max work items dimensions: 3
    Max work items[0]: 256
    Max work items[1]: 256
    Max work items[2]: 256
    Max work group size: 256
    Preferred vector width char: 4
    Preferred vector width short: 2
    Preferred vector width int: 1
    Preferred vector width long: 1
    Preferred vector width float: 1
    Preferred vector width double: 1
    Native vector width char: 4
    Native vector width short: 2
    Native vector width int: 1
    Native vector width long: 1
    Native vector width float: 1
    Native vector width double: 1
    Max clock frequency: 720Mhz
    Address bits: 32
    Max memory allocation: 552861696
    Image support: Yes
    Max number of images read arguments: 128
    Max number of images write arguments: 8
    Max image 2D width: 16384
    Max image 2D height: 16384
    Max image 3D width: 2048
    Max image 3D height: 2048
    Max image 3D depth: 2048
    Max samplers within kernel: 16
    Max size of kernel argument: 1024
    Alignment (bits) of base address: 2048
    Minimum alignment (bytes) for any datatype: 128
    Single precision floating point capability
    Denorms: No
    Quiet NaNs: Yes
    Round to nearest even: Yes
    Round to zero: Yes
    Round to +ve and infinity: Yes
    IEEE754-2008 fused multiply-add: Yes
    Cache type: Read/Write
    Cache line size: 64
    Cache size: 16384
    Global memory size: 2032140288
    Constant buffer size: 65536
    Max number of constant args: 8
    Local memory type: Scratchpad
    Local memory size: 32768
    Kernel Preferred work group size multiple: 64
    Error correction support: 0
    Unified memory for Host and Device: 1
    Profiling timer resolution: 1
    Device endianess: Little
    Available: Yes
    Compiler available: Yes
    Execution capabilities:
    Execute OpenCL kernels: Yes
    Execute native function: No
    Queue properties:
    Out-of-Order: No
    Profiling : Yes
    Platform ID: 0x00007f40b8c77500
    Name: Spectre
    Vendor: Advanced Micro Devices, Inc.
    Device OpenCL C version: OpenCL C 1.2
    Driver version: 1411.4 (VM)
    Profile: FULL_PROFILE
    Version: OpenCL 1.2 AMD-APP (1411.4)
    Extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir
    Device Type: CL_DEVICE_TYPE_CPU
    Device ID: 4098
    Board name:
    Max compute units: 4
    Max work items dimensions: 3
    Max work items[0]: 1024
    Max work items[1]: 1024
    Max work items[2]: 1024
    Max work group size: 1024
    Preferred vector width char: 16
    Preferred vector width short: 8
    Preferred vector width int: 4
    Preferred vector width long: 2
    Preferred vector width float: 8
    Preferred vector width double: 4
    Native vector width char: 16
    Native vector width short: 8
    Native vector width int: 4
    Native vector width long: 2
    Native vector width float: 8
    Native vector width double: 4
    Max clock frequency: 3700Mhz
    Address bits: 64
    Max memory allocation: 2147483648
    Image support: Yes
    Max number of images read arguments: 128
    Max number of images write arguments: 8
    Max image 2D width: 8192
    Max image 2D height: 8192
    Max image 3D width: 2048
    Max image 3D height: 2048
    Max image 3D depth: 2048
    Max samplers within kernel: 16
    Max size of kernel argument: 4096
    Alignment (bits) of base address: 1024
    Minimum alignment (bytes) for any datatype: 128
    Single precision floating point capability
    Denorms: Yes
    Quiet NaNs: Yes
    Round to nearest even: Yes
    Round to zero: Yes
    Round to +ve and infinity: Yes
    IEEE754-2008 fused multiply-add: Yes
    Cache type: Read/Write
    Cache line size: 64
    Cache size: 16384
    Global memory size: 7208714240
    Constant buffer size: 65536
    Max number of constant args: 8
    Local memory type: Global
    Local memory size: 32768
    Kernel Preferred work group size multiple: 1
    Error correction support: 0
    Unified memory for Host and Device: 1
    Profiling timer resolution: 1
    Device endianess: Little
    Available: Yes
    Compiler available: Yes
    Execution capabilities:
    Execute OpenCL kernels: Yes
    Execute native function: Yes
    Queue properties:
    Out-of-Order: No
    Profiling : Yes
    Platform ID: 0x00007f40b8c77500
    Name: AMD A10-7850K APU with Radeon(TM) R7 Graphics
    Vendor: AuthenticAMD
    Device OpenCL C version: OpenCL C 1.2
    Driver version: 1411.4 (sse2,avx,fma4)
    Profile: FULL_PROFILE
    Version: OpenCL 1.2 AMD-APP (1411.4)
    Extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_spir cl_amd_svm</div>
    amd says to use it with the R7 250 for dual GPU.
    but I don't want to use amd catalyst driver because catalyst-test crashes when testing opencl
    and catalyst needs to downgrade packages, so this is the reason why I don't want amd's driver

  • [SOLVED] haskell - citeproc-hs was not compiled with bibutils support

    Hi all,
    since I have not yet been able to get help in arch-haskell's IRC channel, I am posting here, maybe someone has an idea:
    I am using pandoc which I have retrieved along with all its dependencies from the haskell binary repository. But when I try to process a bibliography, I get an error message from citeproc-hs:
    pandoc: citeproc: Bibliography format not supported.
    citeproc-hs was not compiled with bibutils support.
    Supposing that the error message is not misleading, I wonder how do I recompile with bibutils support then?
    Googling gave some results concerned with haskell-hs-bibutils, which seems to have been on the haskell repo earlier but is there no longer, so I installed it from AUR (modifying the PKGBUILD to accept haskell-syb>=0.3 instead of =0.3).
    Reinstalling haskell-citeproc-hs did not help.
    Next I tried with cloning habs the haskell repo (as is described here). Since I could not find any switch in haskell-citeproc-hs's PKGBUILD that would disable bibutils support I directly issued
    ./makeahpkg -- haskell-citeproc-hs
    but the resulting package gives the same error as the one from the repo.
    Should I have taken extra steps to build/install haskell-hs-bibutils also in the habs chroot? Or anything else?
    TIA,
    Andreas
    Last edited by awagner (2012-08-01 08:36:06)

    awagner wrote:Should I have taken extra steps to build/install haskell-hs-bibutils also in the habs chroot? Or anything else?
    Yes, it seems this was the problem. Besides cloning habs, I now went on to manually copy the necessary files of bibutils-dynamic and haskell-hs-bibutils from AUR into the local HABS tree, modify dependencies in haskell-hs-bibutils, haskell-citeproc-hs and haskell-pandoc (an additional dependency on haskell-hs-bibutils in haskell-citeproc-hs, in the other cases only change of version numbers).
    Then
    ./makeahpkg -c -- bibutils-dynamic haskell-hs-bibutils haskell-citeproc-hs haskell-pandoc
    produced four packages which I could install and now the error is gone and I can turn to debugging my document and bibliography files

  • [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?

  • [solved] Error compiling wpa_supplicant with broadcom_wl support

    Hello friends.
    I'm using the broadcom_wl driver for my bcm4312 card in my Dell XPS m1530 laptop. Unsecured wifi is tested and works fine.
    I need to use wpa_supplicant to connect to my university's wifi. The core package for wpa_supplicant is not compiled with broadcom support. I tried using the generic wext option, but I get
    Trying to associate with 00:11:92:90:de:e1 (SSID='restricted.utexas.edu' freq=2462 MHz)
    ioctl[SIOCSIWAP]: Device or resource busy
    Association request to the driver failed
    It looks like the generic wext option doesn't work for the bcm4312.
    So I tried to compile wpa_supplicant with broadcom support using ABS with this package: http://aur.archlinux.org/packages.php?ID=18511 from AUR. I enabled broadcom support in the config file and pointed it toward my local copy of wlioctl.h.
    Unfortunately, build() dies with
    In file included from /var/abs/local/broadcom/src/src/include/proto/802.11.h:39,
    from /var/abs/local/broadcom/src/src/include/wlioctl.h:38,
    from ../src/drivers/driver_broadcom.c:34:
    /var/abs/local/broadcom/src/src/include/proto/wpa.h:109:1: warning: this is the location of the previous definition
    ../src/drivers/driver_broadcom.c: In function 'wpa_driver_broadcom_event_receive':
    ../src/drivers/driver_broadcom.c:229: error: 'wl_wpa_header_t' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:229: error: (Each undeclared identifier is reported only once
    ../src/drivers/driver_broadcom.c:229: error: for each function it appears in.)
    ../src/drivers/driver_broadcom.c:229: error: 'wwh' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:240: error: expected expression before ')' token
    ../src/drivers/driver_broadcom.c:242: error: 'WL_WPA_ETHER_TYPE' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:244: error: 'wl_wpa_snap_template' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:250: error: 'WLC_ASSOC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:251: error: 'WL_WPA_HEADER_LEN' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:271: error: 'WLC_DISASSOC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:275: error: 'WLC_PTK_MIC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:280: error: 'WLC_GTK_MIC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c: In function 'wpa_driver_broadcom_get_scan_results':
    ../src/drivers/driver_broadcom.c:465: error: 'wl_bss_info_t' has no member named 'channel'
    ../src/drivers/driver_broadcom.c: In function 'wpa_driver_broadcom_associate':
    ../src/drivers/driver_broadcom.c:573: error: 'WLC_GET_WEP' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:576: error: 'WLC_SET_WEP' undeclared (first use in this function)
    make: *** [../src/drivers/driver_broadcom.o] Error 1
    ==> ERROR: Build Failed.
    I don't know c. Can someone decipher this error for me?
    Thanks in advance.
    EDIT: There are multiple versions of wlioctl.h floating around. I eventually got this to work with the version included with the wrt54g tarball. BUT, wpa_supplicant still had driver problems when being run with the -D broadcom option.
    I eventually got this working with ndiswrapper and instructions found here: https://help.ubuntu.com/community/WifiD … y_No-Fluff
    Pay special attention to the instruction:
    "This Chipset/PCI ID is the correct/reliable way to identify the device: Any other labels can be misleading (e.g., notice that both the '14e4:4311 (rev 02)' and '14e4:4319 (rev 02)' call themselves a "BCM4311 (Rev 02)", even though they are different devices)."
    Download the driver that matches the output of
    lspci -n | grep '14e4:43'
    Anyway, wpa_supplicant still gave me driver troubles when using the -D ndiswrapper option. However, it works well with -D wext.
    Tldr;
    -Your bcm4312 may actually be a BCM4310 (rev 01).
    -Use ndiswrapper with this driver: http://myspamb8.googlepages.com/R174291-pruned.zip
    -use wpa_supplicant with the -D wext option.
    Last edited by BurtHawk101 (2008-11-05 06:28:04)

    falconindy wrote:
    mkinitcpio needs to refuse to run without /dev mounted to avoid errors like this.
    mount -t devtmpfs devtmpfs /dev
    Thanks falconindy, works great now.

  • Building libcurl with c-ares support

    Hey,
    would it be possible to build libcurl with c-ares support ? It would allow libcurl to perform async DNS lookup. Most (all ?) distro currently forget to add that support, which is very bad for libcurl users or libraries using libcurl.
    thank you

    Just going to point out that if most distros "forget" then theres probably a reason for it.

  • [REQ] gpac with Large File Support (solved)

    Hi All
    I´m getting desperated.
    I´m using mp4box from the gpac package to mux x264 and aac into mp4 containers.
    Unfortunately all mp4box version don´t support files bigger then 2Gb.
    There is already a discussion going on at the bugtracker
    http://sourceforge.net/tracker/index.ph … tid=571738
    I tried all those methods with gpac 4.4 and the csv version.
    But it still breaks up after 2Gb when importing files with mp4box.
    So..anybody an idea how to get a version build on arch which supports big files?
    thanks
    Last edited by mic64 (2007-07-16 17:16:44)

    ok  after looking at this tuff with patience I got it working.
    You have to use the cvs version AND the patch AND extra flags from the link above.
    After that Files >2Gb work.
    Last edited by mic64 (2007-07-16 17:27:33)

  • [SOLVED]Mplayer/Mencoder with mp3lame support

    I'm searchig to encode my .avi file to use it with my Zen.
    I want to use mencoder to make this and not ffmpeg because there is a useful script based on mencoder.
    But mplayer in arch linux repository has not mp3lame support enabled.
    I don't know how to build it with this stuff, all my trials to make the PKGBUILD works are failed.
    Have someone an idea of how to modify the configure option in mplayer's PKGBUILD to enable mp3lame.
    Last edited by algol.tr (2009-05-29 13:20:55)

    if the only options available with ./configure --help are --disable-{mp3lame,mp3lame-lavc} then doesn't that mean they are enabled by default? in that case why is he getting the error at the start of this post?
    mine seems to have it, though i don't have a file to test right now:
    > mencoder -oac help
    MEncoder UNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team
    137 audio & 296 video codecs
    Available codecs:
    copy - frame copy, without re-encoding (useful for AC3)
    pcm - uncompressed PCM audio
    mp3lame - cbr/abr/vbr MP3 using libmp3lame
    lavc - FFmpeg audio encoder (MP2, AC3, ...)
    faac - FAAC AAC audio encoder

  • [solved] glib-git build fails with gdbus-codegen/python error

    Has anyone succeeded to install glib-git lately? For me, the build fails with the following error:
    Making all in tests
    make[4]: Entering directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/tests'
    GEN gdbus-test-codegen-generated.c
    Traceback (most recent call last):
    File "../../gio/gdbus-codegen/codegen_main.py", line 200, in <module>
    codegen_main()
    File "../../gio/gdbus-codegen/codegen_main.py", line 171, in codegen_main
    parsed_ifaces = parser.parse_dbus_xml(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 289, in parse_dbus_xml
    parser = DBusXMLParser(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 57, in __init__
    self._parser.Parse(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 155, in handle_start_element
    if attrs.has_key('name') and self.doc_comment_last_symbol == attrs['name']:
    AttributeError: 'dict' object has no attribute 'has_key'
    make[4]: *** [gdbus-test-codegen-generated.c] Error 1
    make[4]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/tests'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    It is not the PKGBUILD's fault, apparently, as the same error occurs when I autogen-configure-make manually. So is there something wrong with my system, the python setup maybe? (I tried manually replacing "python" by "python2.7" in the Makefile – no success.) Or is it an upstream bug, maybe related to this bug? Is there anything I can do?
    Sorry if the answer is obvious, but I really do not feel like I understand this python stuff properly. Also, sorry for duplicating my AUR comments – it was only today that I figured I might get more response in the forum.
    Last edited by Franek (2011-08-23 13:33:23)

    Don't panic, I don't. Just did not have time before now.
    EDIT: Done. I am still throwing in the towel, though. I was trying to make a gtkmm-git PKGBUILD, because I need the latest gtkmm for development. However for gtkmm-git I needed gtk-git, for which I needed glib-git and pango-git. I successfully (at least it appears so) managed to install glib-git and pango-git, but now I get a linker error with gtk-git and will not spend another day looking for its source. I will just wait until gtkmm-3.1 is released.
    EDIT 2: Alright, it appears there must have been something wrong with my "successfull" installs as well, as I just started a gtk app (Balsa) and it did not have any font, just rectangles for letters. Replacing glib-git and pango-git with their stable counterparts turned everything right again.
    Last edited by Franek (2011-08-23 20:46:47)

  • [Solved] Building vboxdrv with custom kernel

    I noticed a Loading Modules     [FAIL] during boot yesterday so I decided to investigate it.
    [siegemachine@Siege-LapLinux ~]$ sudo modprobe vboxdrv
    Password:
    FATAL: Module vboxdrv not found.
    [siegemachine@Siege-LapLinux ~]$ sudo /etc/rc.d/vboxdrv setup
    :: Removing VirtualBox kernel modules [DONE]
    :: Compiling VirtualBox kernel modules [BUSY] Look at /tmp/vbox-install.log to find out what went wrong
    Look at /tmp/vbox-install.log to find out what went wrong
    Look at /tmp/vbox-install.log to find out what went wrong
    [siegemachine@Siege-LapLinux ~]$ yaourt -S kernel26-headers
    warning: kernel26-headers-2.6.39.1-1 is up to date -- reinstalling
    Now I read in this forum
    https://bbs.archlinux.org/viewtopic.php?id=107733
    that if I have a custom kernel then I have to have the custom kernel-headers to go with it in order to build the virtualbox driver module.  The problem is the kernel I got is from the AUR
    [siegemachine@Siege-LapLinux ~]$ yaourt -Qi kernel26-kamal
    Name : kernel26-kamal
    Version : 2.6.39.1-1
    And I've tried searching the AUR and there doesn't appear to be any kernel-headers to match the kernel.  When I build the kernel should I build it with the regular name and not with -kamal on the end of the kernel and see if that would work for building the virtualbox modules? Or should I boot off the regular kernel (I have both) and build it there, then reboot on this kernel and see if it works? Or finally, do I need to somehow build the kernel-headers for this kernel myself, install them, and then build the modules?
    Last edited by SiegeMachine (2011-06-24 03:47:57)

    Aha well my friend noticed in the PKGBUILD for kernel26-kamal actually builds the kernel headers for that kernel but it doesn't isntall them so I just downloaded the PKGBUILD and built it myself again with makepkg instead of using yaourt then I could install the header package and built the module after.  In the end all is good.

Maybe you are looking for

  • Error While running a PhysicalLayer Dataservice in DSP3.2

    Hi, I created a physical dataservice from DB2(version 8.1) table.While trying to run it is thowing the following exception. com.bea.dsp.das.exception.DASException: com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {ld:PhysicalLayer/test/AMT_MA

  • Sort order on sync'd photos

    I'm trying to get 400+ photos onto my iPad from iPhoto. I cannot use sync because it destroys the sort order I have established in iPhoto.  Have tried to sync, have tried to export to a folder. The folder export put the photos in the sort order I wan

  • How to save IDOC number in BPM to use in ALEAUD

    Hi Experts, I am doing IDOC - BPM - sync SOAP scenario, i am using async to sync bridge in BPM, how can i get original IDOC number so that i can use it in webservice response message to ALEAUD mapping??

  • Do I use JFrame or JDialog?

    Hi, I wanted to create a dialog which allows me to have two JTextArea's. In one list I list possible selection for the user. In the other text area, all the files the user selected will be in the text area. There will be two buttons for removal/addit

  • Why does my MacBook stop working when I tr to plug in my iPad to do some file syncing?

    Why does my MacBook stop working when I try to plug in my iPad to do some file syncing? This is the second time I have had it happen to my MacBook. The computer just shuts down and cannot be restarted. When I plug it into the charger I get a faint Gr