Using ABS to compile OpenOffice with KDE3 support?

Hallo,
So I'm trying to use ABS to compile OpenOffice with KDE3 support so I can use the KDE file picker (the KDE4 support is really, really broken and too new to be used right now). I pulled Openoffice-base out of my ABS tree and modified the PKBUILD so that kde was enabled and I made kdelibs3 part of the dependencies.
However, it always says "checking whether KDE is between 3.2 and 3.6... configure: error: KDE version too old or too recent, please use another version of KDE or disable KDE address book support" before failing to compile. I know it's because I'm using KDE4. Is there a way I can trick it into thinking I'm using KDE3?
It says the path to kdelibs is /usr/lib, perhaps if I changed it to the path to kdelibs3? Where would I do that in the PKBUILD?
Thanks a lot!

bstaletic wrote:The weird part, at least to me, is that I saw a lot more then 19 modules during compilation. Is this expected for some reason or have I messed something up?
Your build method seems ok to me. Can't really say anything about the .config, but kernel modules can have dependencies too. For example, if you choose to build ext4 as a module, it selects at least jdb2 and crc16 modules to be built as well.

Similar Messages

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

  • [SOLVED] OpenOffice with DOCX support

    I have to use sometimes Microsoft Word documents in Microsoft Office 2007 format (.docx) (my boss is fan of this format ), but standart version of OpenOffice doesn't support this format and I should ask my partners to convert it to old Word format. But it's uncomfortable. I heard that Sun developed special version of OpenOffice with support Microsoft Office 2007 formats but I didn't find it neither in Arch repos nor in AUR. Where can I find this special version of OpenOffice?
    Last edited by Rinaldus (2008-08-28 06:07:24)

    Rinaldus wrote:Is it with Microsoft Office 2007 formats support?
    Looks like: http://wiki.services.openoffice.org/wik … er_2008.29
    Have it localization or only English version yet?
    Looks like it has:
    http://wiki.services.openoffice.org/wik … er_2008.29
    Upload of Beta build      ja      done     
    full install sets for: en-US da de es fr it ja nl ko pl ru sv pt-BR zh-CN zh-TW gl vi sl
    language packs for: af ar as-IN be-BY bg br bs ca cs da de dz el en-GB en-ZA es et fi fr ga gu he hi-IN hr hu it ja ka km ko ku lt mk ml-IN mr-IN nb ne nl nn nr ns or-IN pa-IN pl pt pt-BR rw sh sk sl sr ss st sv sw-TZ ta te-IN tg th ti-ER tr ts uk ur-IN ve vi xh zh-CN zh-TW zu kk gl ru
    Not sure where you can get the languge packs.
    Why don't you just try it?

  • Openoffice with VB support for Arch?

    I found this article very interesting:
    http://www.linux.com/article.pl?sid=06/11/08/1726205
    It tells us there are serveral distros that have a version of OpenOffice available that supports vb.
    Is it possible to get such a version for Arch?
    That would make using Arch/Openoffice at the office an even better experience.
    With kind regards
    Archdevil  :twisted:

    Check out this post here. Let me know if you have anymore questions on this.
    We know this is a current deficiency and we are hoping to make programming DAQmx in VB 6.0 much easier in the future versions of DAQmx.
    Bilal Durrani
    NI

  • [SOLVED] Error when compiling conky with audacious support

    Edit: See post #8 for solution
    Hello.
    When trying to compile conky with the --enable-audacious option, I get the following error.
    checking for Audacious... configure: error: Package requirements (audacious >= 1.4.0 audclient dbus-glib-1 glib-2.0 gobject-2.0) were not met:
    No package 'audclient' 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 Audacious_CFLAGS
    and Audacious_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    ==> ERROR: A failure occurred in build().
    Aborting...
    My PKGBUILD is the one in the repos, with the addition of an --enable-audacious line. See below:
    # $Id: PKGBUILD 205494 2014-02-06 05:24:01Z bisson $
    # Maintainer: Gaetan Bisson <[email protected]>
    # Contributor: Giovanni Scafora <[email protected]>
    # Contributor: James Rayner <[email protected]>
    # Contributor: Partha Chowdhury <[email protected]>
    pkgname=conky
    pkgver=1.9.0
    pkgrel=4
    pkgdesc='Lightweight system monitor for X'
    url='http://conky.sourceforge.net/'
    license=('BSD' 'GPL')
    arch=('i686' 'x86_64')
    makedepends=('docbook2x')
    depends=('glib2' 'curl' 'lua' 'wireless_tools' 'libxml2' 'libxft' 'libxdamage' 'imlib2')
    source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
    sha1sums=('a8d26d002370c9b877ae77ad3a3bbd2566b38e5d')
    backup=('etc/conky/'conky{,_no_x11}.conf)
    options=('!emptydirs')
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --enable-ibm \
    --enable-curl \
    --enable-rss \
    --enable-weather-xoap \
    --enable-imlib2 \
    --enable-wlan \
    --enable-audacious \
    make
    package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    install -Dm644 extras/vim/syntax/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/syntax/conkyrc.vim
    install -Dm644 extras/vim/ftdetect/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/ftdetect/conkyrc.vim
    Note: While similar, I don't think this problem is the same as this one.
    Last edited by Sudowoodo (2014-06-29 10:07:02)

    drcouzelis wrote:Remove the "\" from the end of "--enable-audacious". Does it work now?
    No, it's exactly the same.
    drcouzelis wrote:EDIT: Also, there's already a package for conky-audacious in the AUR.
    I tried it, that doesn't compile either, and its orphan & outdated.
    For the record, its PKGBUILD is
    Edit: Remove unnecessary text. See post #8 for solution.
    and the error is the same:
    Edit: Remove unnecessary text. See post #8 for solution.
    Have you been able to reproduce the problem? I'm using an amd64 processor and trying to build with "makepkg -s". Thank you for replying.
    Last edited by Sudowoodo (2014-06-28 12:13:28)

  • How to compile mplayer with giflib support?

    Hey all,
    i am trying to compile mplayer (or mplayer2, i have tried several pkgbuilds from aur), as the package from extra doesn't have support for the the gif89a video_out driver. I have giflib package installed, so i have the /usr/lib/include/gif_lib.h in my filesystem. If i try to compile mplayer with the ./configure --enable-gif option, it fails with the following error message:
    libmpdemux/demux_gif.o: In function `demux_close_gif':
    demux_gif.c:(.text+0x39): undefined reference to `PrintGifError'
    libmpdemux/demux_gif.o: In function `demux_open_gif':
    demux_gif.c:(.text+0x293): undefined reference to `PrintGifError'
    libmpdemux/demux_gif.o: In function `demux_gif_fill_buffer':
    demux_gif.c:(.text+0x95b): undefined reference to `PrintGifError'
    demux_gif.c:(.text+0xb1a): undefined reference to `PrintGifError'
    ...among others, because some other libraries (cdio_paranoia, theora and caca) have undefined references too. If i check the source of giflib, i see the missing function 'PrintGifError' in 'lib/gif_err.c', but i don't have this file on my filesystem. My question is from where should i obtain these sources, and where i need to place them to compile mplayer successfully?
    Update: here is the whole list of errors, all of them are undefined references to various functions: http://pastebin.com/LttqXy5J
    Last edited by vizipok (2013-06-03 11:53:20)

    sl1pkn07 wrote:why this downgrade
    Because there's lotsa compilation fails caused by the giflib API changing.

  • Recompiling Postfix with MySQL support

    It took me so much time that I think the following explanation could be useful.
    Goal: Recompiling Postfix with MySQL support without losing compatibility with Apple administration tools
    Original instructions from webutilities:
    downloaded the postfix from the Darwin Sources here:
    http://www.opensource.apple.com/darwinsource/10.4.3/
    Thx to pterobyte
    i created the directorys
    /src
    i put the source in there
    /src/postfix-144
    and
    /AppleInternal/Deverloper/Headers
    i put the Sasl headers in there
    /AppleInternal/Deverloper/Headers/sasl
    then i modyfied the makefile in postfix-144
    SRCROOT=
    to
    SRCROOT=/src/postfix-144
    and
    build :
    echo "ENV = $(ENV)"
    $(ENV) $(MAKE) -C $(SRCROOT)/$(PROJECT) makefiles OPT="-DBIND8COMPAT -DHAS_SSL -DUSESASLAUTH -D_APPLE_ \
    -I/AppleInternal/Developer/Headers/sasl -framework DirectoryService $(CFLAGS)" \
    AUXLIBS="-L/usr/lib -lssl -lsasl2.2.0.1 -lgssapi_krb5"
    $(ENV) $(MAKE) -C $(SRCROOT)/$(PROJECT)
    cd $(SRCROOT)/postfix/src/smtpstone && make all
    to
    build :
    echo "ENV = $(ENV)"
    $(ENV) $(MAKE) -C $(SRCROOT)/$(PROJECT) makefiles OPT="-DBIND8COMPAT -DHAS_SSL -DUSESASLAUTH -D_APPLE_ \
    -I/AppleInternal/Developer/Headers/sasl -framework DirectoryService $(CFLAGS) -DHAS_MYSQL -I/usr/include/mysql" \
    AUXLIBS="-L/usr/lib/sasl2 -lssl -lsasl2.2.0.1 -lgssapi_krb5 -L/usr/lib/mysql -lmysqlclient -lz -lm"
    $(ENV) $(MAKE) -C $(SRCROOT)/$(PROJECT)
    cd $(SRCROOT)/postfix/src/smtpstone && make all
    then in the cli
    cd /src/postfix-144
    make build
    cd postfix
    i tryed to
    make update
    but it gave me
    nothing to do back
    so i made a backup of the postfix files
    mv /usr/sbin/postfix /usr/sbin/postfix.bak
    mv /usr/sbin/postfconf /usr/sbin/postfconf.bak
    mv /usr/libexec/postfix /usr/libexec/postfix.bak
    i moved
    mv src/postfix/postfix /usr/sbin
    mv src/postfconf/postfconf /usr/sbin
    mv libexec /usr/libexec/postfix
    Here is what I did not understand first:
    1. SASL headers
    These headers can be found in Apple's distribution of passwordserver_sasl-59.3 (http://www.opensource.apple.com/darwinsource/10.4.4/). Here is the list:
    -rw-r--r-- 1 administ admin 5472 Sep 3 2002 exits.h
    -rw-r--r-- 1 root wheel 3547 Apr 11 2005 gai.h
    -rw-r--r-- 1 root wheel 1368 Apr 11 2005 hmac-md5.h
    -rw-r--r-- 1 root wheel 1442 Apr 11 2005 md5.h
    -rw-r--r-- 1 root wheel 1007 Apr 11 2005 md5global.h
    -rw-r--r-- 1 root wheel 7273 Apr 11 2005 prop.h
    -rw-r--r-- 1 root wheel 47906 Apr 11 2005 sasl.h
    -rw-r--r-- 1 root wheel 30986 Apr 11 2005 saslplug.h
    -rw-r--r-- 1 root wheel 2648 Apr 11 2005 saslutil.h
    2. Postfix update
    I did a "make build", then moved to /src/postfix-144/postfix and did a "make update". But it was not enough, I had to follow the instructions by manually copying the files (src/postfix/postfix, src/postfconf/postfconf, libexec).
    And it seems to work fine!
    David

    It took me so much time that I think the following explanation could be useful.
    Goal: Recompiling Postfix with MySQL support without losing compatibility with Apple administration tools
    Original instructions from webutilities:
    downloaded the postfix from the Darwin Sources here:
    http://www.opensource.apple.com/darwinsource/10.4.3/
    Thx to pterobyte
    i created the directorys
    /src
    i put the source in there
    /src/postfix-144
    and
    /AppleInternal/Deverloper/Headers
    i put the Sasl headers in there
    /AppleInternal/Deverloper/Headers/sasl
    then i modyfied the makefile in postfix-144
    SRCROOT=
    to
    SRCROOT=/src/postfix-144
    and
    build :
    echo "ENV = $(ENV)"
    $(ENV) $(MAKE) -C $(SRCROOT)/$(PROJECT) makefiles OPT="-DBIND8COMPAT -DHAS_SSL -DUSESASLAUTH -D_APPLE_ \
    -I/AppleInternal/Developer/Headers/sasl -framework DirectoryService $(CFLAGS)" \
    AUXLIBS="-L/usr/lib -lssl -lsasl2.2.0.1 -lgssapi_krb5"
    $(ENV) $(MAKE) -C $(SRCROOT)/$(PROJECT)
    cd $(SRCROOT)/postfix/src/smtpstone && make all
    to
    build :
    echo "ENV = $(ENV)"
    $(ENV) $(MAKE) -C $(SRCROOT)/$(PROJECT) makefiles OPT="-DBIND8COMPAT -DHAS_SSL -DUSESASLAUTH -D_APPLE_ \
    -I/AppleInternal/Developer/Headers/sasl -framework DirectoryService $(CFLAGS) -DHAS_MYSQL -I/usr/include/mysql" \
    AUXLIBS="-L/usr/lib/sasl2 -lssl -lsasl2.2.0.1 -lgssapi_krb5 -L/usr/lib/mysql -lmysqlclient -lz -lm"
    $(ENV) $(MAKE) -C $(SRCROOT)/$(PROJECT)
    cd $(SRCROOT)/postfix/src/smtpstone && make all
    then in the cli
    cd /src/postfix-144
    make build
    cd postfix
    i tryed to
    make update
    but it gave me
    nothing to do back
    so i made a backup of the postfix files
    mv /usr/sbin/postfix /usr/sbin/postfix.bak
    mv /usr/sbin/postfconf /usr/sbin/postfconf.bak
    mv /usr/libexec/postfix /usr/libexec/postfix.bak
    i moved
    mv src/postfix/postfix /usr/sbin
    mv src/postfconf/postfconf /usr/sbin
    mv libexec /usr/libexec/postfix
    Here is what I did not understand first:
    1. SASL headers
    These headers can be found in Apple's distribution of passwordserver_sasl-59.3 (http://www.opensource.apple.com/darwinsource/10.4.4/). Here is the list:
    -rw-r--r-- 1 administ admin 5472 Sep 3 2002 exits.h
    -rw-r--r-- 1 root wheel 3547 Apr 11 2005 gai.h
    -rw-r--r-- 1 root wheel 1368 Apr 11 2005 hmac-md5.h
    -rw-r--r-- 1 root wheel 1442 Apr 11 2005 md5.h
    -rw-r--r-- 1 root wheel 1007 Apr 11 2005 md5global.h
    -rw-r--r-- 1 root wheel 7273 Apr 11 2005 prop.h
    -rw-r--r-- 1 root wheel 47906 Apr 11 2005 sasl.h
    -rw-r--r-- 1 root wheel 30986 Apr 11 2005 saslplug.h
    -rw-r--r-- 1 root wheel 2648 Apr 11 2005 saslutil.h
    2. Postfix update
    I did a "make build", then moved to /src/postfix-144/postfix and did a "make update". But it was not enough, I had to follow the instructions by manually copying the files (src/postfix/postfix, src/postfconf/postfconf, libexec).
    And it seems to work fine!
    David

  • Problems with GCC version - compiling OpenOffice

    I am trying to compile OpenOffice 4.1.1 to run on 10.6.8. When I run the ./configure it runs for a few seconds then shows the following error:
    "checking the GNU gcc compiler version... configure: error: found version "1.0.2", use version 3+ of the gcc compiler"
    If I run:
    gcc -v
    I get:
    gcc version 4.2.1 (Apple Inc. build 5659)
    Any ideas on how to fix this?
    Thanks

    I suppose the real incentive is to be able to just continue using 10.6. But it seems from other feedback that the problem with OpenOffice 4.1 is dependencies on libraries in 10.7, rather than the GCC version. I know that I could probably eventually code around those dependencies, but it would certainly involve more time and effort than I am currently able to devote to it.
    I have tried LibreOffice in the past, but frankly I found it so horrible and slow (I think because of its dependency on Java) that I ended up using the X11 version of OpenOffice - which in itself was not a terrific user experience, but was a lot better than the alternative.
    I will try the version you have mentioned, but I also note that this is planned to be obsolete by May next year, and is also the last version that will support 10.6 or 10.7 (10.8 will be the lowest requirement). Which will leave a fair number of 64-bit intel machines unsupported, since some of those are only able to run 10.7. Thanks for the feedback.

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

  • 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)

  • Compiling PHP with SOAP/Iconv/OpenSSL support

    Hi,
    I'm not sure if this is the best place for this but the other topics seem even less related.
    I'm trying to compile PHP with SOAP and SSL on a Mac for use with Salesforce.com (it works without any issues on Gentoo and RedHat). Anytime I try to connect I get an invalid SOAP header error. It seems to be happening because the Salesforce SOAP server requires SSL connections and I don't have SSL enabled, but it's hard to backtrace. Regardless, I can't get SSL or iconv support working.
    I've installed OpenSSL both from Macports and from source using the default ./config options, neither method worked. It may be related to some issues I'm having getting iconv working as well (which I also can't seem to get right, it's installed via Macports).
    Here's my PHP configure, if anyone can let me in on what I'm doing wrong that would be great!!! Thanks in advance!
    root# MACOSXDEPLOYMENTTARGET=10.5 \
    CFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp" \
    CCFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe" \
    CXXFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe" \
    LDFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -bindatload"
    root# ./configure \
    --prefix=/usr \
    --mandir=/usr/share/man \
    --infodir=/usr/share/info \
    --with-apxs2=/usr/sbin/apxs \
    --with-config-file-path=/etc \
    --sysconfdir=/private/etc \
    --enable-cli \
    --with-curl=/opt/local \
    --enable-ftp \
    --enable-mbstring \
    --enable-mbregex \
    --enable-sockets \
    --with-ldap=/usr \
    --with-kerberos=/usr \
    --with-mime-magic=/etc/apache2/magic \
    --with-zlib-dir=/usr \
    --with-xmlrpc \
    --with-xsl=/usr \
    --with-iconv=shared,/opt/local \
    --with-openssl=shared,/opt/local \
    --with-gd \
    --with-png-dir=/usr/X11R6 \
    --with-xpm-dir=/usr/X11R6 \
    --with-jpeg-dir=/opt/local \
    --enable-exif \
    --with-freetype-dir=/opt/local \
    --with-t1lib=/opt/local \
    --enable-pdo \
    --with-pdo-mysql \
    --with-mysql-sock=/var/mysql \
    --with-mysqli=/usr/bin/mysql_config \
    --with-mysql=/usr/local/mysql \
    --with-iodbc=/usr \
    --with-curl \
    --with-config-file-path=/etc \
    --sysconfdir=/private/etc \
    --enable-soap
    Message was edited by: mkenney - bad grammar

    mkenney wrote:
    Hi,
    I'm not sure if this is the best place for this but the other topics seem even less related.
    Welcome to Apple Discussions:
    Use our Unix forum here:
    http://discussions.apple.com/forum.jspa?forumID=735
    (yes, it's a tad hidden )
    Message was edited by: nerowolfe

  • Is Muse compiled with DSSI support?

    Is Muse compiled with DSSI support?
    I ask because it is not able to recognise my DSSI instruments (only its internal ones).

    I think that the dynamic loader would then search for libvdpau.so, and not find it on systems without nVidia-drivers, which causes the program to not load Also, it's not very KISS to have several different packages for different needs in the main repos. That's what AUR/ABS's for.

  • Compiling fvwm-patched with XFT support

    I'm pretty new to Linux. Only spent 2 weeks playing with a minimal Ubuntu install before jumping over to Arch a couple months ago.
    I'm compiling/installing fvwm-patched from the AUR. I'm using yaourt and I'm even editing the PKGBUILD to use the latest fvwm source, and dropping a patch that is no longer needed due to changes in fvwm itself. The problem is the resulting compiled fvwm doesn't have XFT font support.
    I found this in an FAQ:
    cf13. I compiled FVWM from source, and now none of my XFT fonts are working. They work fine under other window managers.
    You're an idiot. You probably didn't compile in XFT support. FVWM needs this to render XFT fonts. If the command:
    fvwm --version | sed -n 2p
    ... doesn't have "XFT" listed in its options, then install the XFT header files (libxft-dev, if you're on Debian) and recompile FVWM.
    I'm not sure how to get these xft header files on Arch. I already have libxft installed and I can't find anything in packages or AUR that looks the equivalent of libxft-dev.
    Anyone know which direction to point me in?
    Cheers.

    As far as I understand it fvwm-devel is a regular package (not from AUR) and is thus pre-compiled and has XFT support. (yes it works)
    The patches work fine as far as I can tell. I'm not having any issues with them. I'm just not sure where to get the "xft header files" mentioned in the FAQ I quoted.
    Last edited by greatant (2011-02-13 12:20:41)

  • Hi all, I'm trying to connect my macbook pro to Sony Bravia tv using Kanex Mini DisplayPort to HDMI Cable with Audio Support , when connected to the HDMI on tv I get a picture of the mac screen saver ( the starburst ) no video/audio,thanks, Derek

    Hi all, I'm trying to connect my macbook pro to Sony Bravia tv using Kanex Mini DisplayPort to HDMI Cable with Audio Support , when connected to the HDMI on tv I get a picture of the mac screen saver ( the starburst ) no video/audio,any ideas? thanks, Derek

    Dave I'm glad to say that it works perfectly but I'm embarrassed to say that my 12 year old nephew hooked it up in about 10 minutes.
    If you have the Kanex Mini DisplayPort cable it will work, what confused me was changing the display settings in System Preferences,
    and dragging the mac screen from the mac onto the tv. Sorry I cant be more helpful but you have the right cable now you need a 12 year old nephew.
    Good luck Derek

Maybe you are looking for

  • Won't show what I'm listening on windows live msn messenger

    As the title said. There is no plugin option I can opt for like in Windows Media Player. The previous iTunes version works fine but ever since I updated to iTunes 8, it does not show on my personal message of what song I'm listening to. Am I the only

  • Firefox ftp download is not available? Where can I download latest version outside the Android market?

    The ftp only provides 701 and 806beta but not the final release, please update, since there are still users out there with Android Market access like me on Toshiba AC 100. Thanks Frank

  • Help with AND/OR Search

    Hi all, I'm setting up an 'Advanced Search' feature using a filter function and need some help with the logic - seem to be suffering a brain fade... There's a search form with (let's say) 4 different options:  Name, Description, Price, Features. I wa

  • Blackberry 8520 setting up an email address

    I am a very new purchaser of this Blackberry. Most things seem to be working just fine. I have successfully set up my AOL email address so I am receiving AOL emails on the Blackberry. I also have my own domain name for use on my PC. I have tried addi

  • Login Problem with opendocument, flash and QaaWS

    We have the following task: We have an application, an excelsius flash file in BOE (webI) and want to give the users a hyperlink to go directly to this application (after entering their user an password) on the bo-login page. The application itself c