Irssi with fish support howto compile!

I had problems myself so i thought i should share... i cant make a pkgbuild of it cause i don't know how to do different things, and some libs are weird so i had to do my workaround fixes.
pacman -S current/glib (we need glib to compile)
wget http://fish.sekure.us/irssi/FiSH-irssi.v0.99-source.zip (sources for fish. http://fish.sekure.us)
wget http://www.irssi.org/files/irssi-0.8.11.tar.bz2 (sources for irssi. http://www.irssi.org)
unzip FiSH-irssi.v0.99-source.zip
tar xjf irssi-0.8.11.tar.bz2
cd FiSH-irssi.v0.99-source
mkdir MIRACL;cd MIRACL
cp ../mir_amd64 amd64
cp ../mir_macosx macosx
wget http://indigo.ie/~mscott/miracl.zip (miracl is used with fish for compileing.)
unzip -j -aa -L miracl.zip
bash linux (you can get error msgs here without any problem)
cp miracl.a ../
cd ..
Now to the nasty part
With your favorite editor open the Makefile for example "nano Makefile".
changes follow:
glib_dir = /usr/lib/glib/include/
irssi_dir = /root/irssi-0.8.11 <--- Where you put the source files.
Now what i had problems with is that the parts from glib it need is located on different parts of the harddrive.
Instead of changing the source code with can be messy, i did a workaround.
ln -s /usr/include/glib-1.2/glib.h /usr/lib/glib/include/glib.h (make a symlink for a libary that we need)
Yes i know this is bad... but i couldn't figure it out otherwise.
Now you can go ahead and run "Make" and it should compile.
When compileing is done...
rm /usr/lib/glib/include/glib.h (take away the mess we made, the symlink)
cp libfish.so /usr/lib/irssi/modules/ (to install systemwide)
Happy FiSHin!
And i hope it works
side note some of the commands used needs root privileges!
Last edited by Basn (2007-08-13 20:24:29)

Allright, this is my little input, but this is compiling FiSH as a plugin for use with XCHAT, under AMD64 (arch64). Obviously adjust your .xchat directory in the last line where yours is. Did not want to spam by creating a new thread!
mkdir fish; cd fish
wget http://fish.sekure.us/xchat/FiSH-XChat.v0.98-source.zip
unzip FiSH-XChat.v0.98-source.zip
mkdir MIRACL;cd MIRACL
cp ../mir_amd64 amd64
cp ../mir_macosx macosx
wget http://indigo.ie/~mscott/miracl.zip
unzip -j -aa -L miracl.zip
cd ../
make
cd MIRACL/
bash amd64
cp miracl.a ../
cd ..
make amd64
cp xfish.so /home/a64/.xchat2/

Similar Messages

  • Kaffeine embedded crash fixed when compiled with libxcb support?

    From kaffeine website:
    Embedded Kaffeine crash fixed.
    This long standing bug is now fixed in current svn ...
    In order to make it possible, we have ported Kaffeine and xine to xcb (a thread-safe replacement for xlib).
    You can give it a try right now:
    1) install libxcb=>1.0
    2) install current xine-lib cvs (it contains xcb based video output plugins: xshm and xv)
    2) install current Kaffeine svn
    Notes
    a) Both xine-lib and Kaffeine have to be compiled with xcb support (autodetected, check configure results).
    b) Kaffeine will still work with xlib based video out plugins if compiled without xcb (but then, no fix!)
    From 0.8.4 changelog:
    * xine-part: support for xcb. Requires libxcb 1.0 and xine-lib 1.1.5. Fixes several issues.
    Any reason not to incorporate this? If it lives up to it's promises It could mean kde users only need ONE media player :-)  (I have 2 installed just to get DVD menus and embedding in konqueror without crashing)
    Any thoughts?
    Cheers,
    Steve.

    I felt that the laptop was possibly overheating and that is why I started down the road to call "customer support", thinking that a fan went out or there was damage to hardware due to it over heating.  And that road got me no where in a fast manner, and two "techs" telling me it was a software related issue and that I needed to reformat the laptop (twice) and re-install to factory settings.  Even when I did this, it still had the issue and they again told me that it was software related when there was no software on the computer except for Windows 7.  The only thing that customer support helped me with is the knowledge of next time I buy a laptop, but Dell or any other laptop besides a Toshiba.  That is too bad.
    Anyway, I tried to continue on with my thinking of a possible over heating issue, so I blew air into the vents and fins of the laptop.  A lot of dust came out.  I kept blowing air into the vents until no more dust came.
    My wife had to re-install everything again to her laptop after I got the major items re-installed.  She has been running it for the last day or so with no issues.  We hope that this was the issue.  I know she enjoys the laptop when it was running well.
    I guess we will see how it goes.

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

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

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

  • PHP5 package compiled with LDAP support?

    When I check phpinfo() it appears the PHP5 package was compiled with LDAP support but for some reason when I try a ldap_connect function in php it errors with 'Fatal error: Call to undefined function ldap_connect() in ...'
    Anybody have any idea what the problem is?
    Thanks,
    Craig

    I'm not sure about the php.ini thing, I've combed through it looking for idea's as well, but the only ldap string in the whole file is this 'extension=php_ldap.dll' and that doesn't apply to Arch.
    Also at http://www.php.net/ldap it talks about requirements etc and I'm almost thinking that the php5 package is not compiled with ldap even though when I do a phpinfo() it does show '--with-ldap' in the compile settings.

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

  • How do I install a version of vim with Python support?

    I'm trying to install a version of vim with Python support, but for some reason I can't seem to find anything useful when I search.
    So far I've found posts that say arch doesn't have one built with Python support, and use this <broken link> AUR package. I've search AUR for "vim python" which turned up nothing. There *does* exist extra/gvim-python3, but when I install that, then vim (not gvim) still tells me "Error: Required vim compiled with +python"
    This search:
    https://duckduckgo.com/?t=lm&q=arch+lin … on+support
    Provides:
    https://bbs.archlinux.org/viewtopic.php … 1#p1070281 - Only a link to a bug report
    https://bbs.archlinux.org/viewtopic.php … 0#p1144210 - Post with the 404'd AUR link
    What I finally found was this Gist with directions on using the ABS:
    https://gist.github.com/MicahElliott/3048622
    Ultimately you'll have to change the particular tar.xz files you use in the pacman -U steps, but this should get you vim with Python enabled.

    I have downloaded vim by cloning The Vim Mercurial repository.
    hg clone https://vim.googlecode.com/hg/ ~/bin/vim_bin
    Then i have a this script to install it in my own ~/bin/ dir.
    #!/bin/bash
    cd /home/myuser/bin/vim_bin/src
    echo "---Configure----"
    ./configure --prefix=/usr --localstatedir=/var/lib/vim \
    --with-features=big --with-compiledby="Custom Vim insall" \
    --enable-gpm --enable-acl --with-x=no \
    --disable-gui --enable-multibyte --enable-cscope \
    --enable-netbeans --enable-perlinterp \
    --enable-rubyinterp --enable-luainterp \
    --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config \
    --enable-python3interp --with-python3-config-dir=/usr/lib/python3.4/config > my_log
    echo "=== Make ==="
    make >> my_log
    echo "==== Install ===="
    make install >> my_log
    Hope it helps some one

  • OpenSSH 4.4p1 packages with PAM support for Solaris 9, 10

    As mentioned in a previous post* , I've compiled OpenSSH packages with PAM support for Solaris 9 and 10. They've since been updated to version 4.4p1, and are compiled against a static zlib (1.2.3) and OpenSSL (0.9.8c). You can find them here:
    http://firewallworks.com/downloads/unsupported/Solaris-sparc/
    Regards,
    Greg
    * http://forum.sun.com/jive/thread.jspa?threadID=103378&tstart=105

    Yes, zlib 1.2.3 is a requirement. In facts, zlib mentions a 2005 vulnerability fix but I found no matching patch in sunsolve. See
    http://www.kb.cert.org/vuls/id/JGEI-6E7RC3
    I have been wandering whether to replace the official zlib. Linking statically is probably a better idea. Thanks

  • Elvis with X11 support - PKGBUILD

    Building the other 2 elvis PKGBUILDs in the AUR is broken, and they are without X11 support.
    I'm wondering if I should submit this PKGBUILD, which compiles and works fine, and includes X11 and x86_64 support and the help documentation, to the AUR.
    # Maintainer: Robert Kieffer <rek2w @ A L U M N I DOT V I R G I N I A DOT E D U>
    # Based on pkgbuild by Rudy Matela <[email protected]>
    # Date: 2010-1-18
    #compile options
    _ELVISVERSION=2.2_0 # valid options are 2.2_0 and 2.2_1 which are stable and beta, respectively
    _COMPILEWX11=true # X11 support built by default
    _SLACKWARECOLORS=false # elvis colorscheme from slackware not installed by default - it's boring
    _GENERALCOMPILEOPTS="" # place for you you to define your own configure options
    if [ $_ELVISVERSION = "2.2_0" ]; then
    _ELVISSRC="ftp://ftp.cs.pdx.edu/pub/elvis/elvis-2.2_0.tar.gz"
    _ELVISMD5="6831b8df3e4a530395e66c2889783752"
    pkgver="2.2_0"
    fi
    if [ $_ELVISVERSION = "2.2_1" ]; then
    _ELVISSRC="ftp://ftp.cs.pdx.edu/pub/elvis/unreleased/almost-2.2_1.tar.gz"
    _ELVISMD5="6959f2f156920db47e4c6324f187e632"
    pkgver="2.2_1"
    fi
    pkgname=elvis_patched-withx
    pkgver=$pkgver
    pkgrel=1
    url="http://elvis.the-little-red-haired-girl.org/"
    alt_url="http://elvis.vi-editor.org/"
    pkgdesc="A vi clone - with X support (if you wish) - stable or beta version"
    depends=('glibc' 'libx11' 'ncurses' 'fontconfig' 'expat' 'freetype2' 'zlib')
    source=("$_ELVISSRC"
    "http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/editors/elvis/patches/patch-ref.c"
    "http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/editors/elvis/patches/patch-ae"
    "ftp://ftp.slackware.com/pub/slackware/slackware-13.0/source/a/elvis/elvis.clr")
    md5sums=("$_ELVISMD5"
    '8d9df9aa5edcf8e0b8a2f5d59d1c30c7'
    '2bec41d9f09542e2ef41de1e6b41727e'
    'c47a70cb176ebf2eb99b055c4048a560')
    arch=('i686' 'x86_64')
    license=('PerlArtistic')
    conflicts=('elvis' 'elvis_slack')
    replaces=('elvis' 'elvis_slack')
    _DESKTOPFILE="[Desktop Entry]\\nType=Application\\nVersion=1.0\\nName=Elvis\\nComment=A simple text editor\\nExec=elvis\\nIcon=$pkgname\\nTerminal=true\\nCategories=Editors;Programming;Accessories"
    build() {
    cd $srcdir/elvis-$pkgver
    if [ $_COMPILEWX11 = "true" ]
    then
    _GENERALCOMPILEOPTS="$_GENERALCOMPILEOPTS --with-x"
    _COMPILEWX11=1
    else
    _GENERALCOMPILEOPTS="$_GENERALCOMPILEOPTS --with-x=no"
    _COMPILEWX11=0
    fi
    if [ $_SLACKWARECOLORS = "true" ]
    then cp $srcdir/elvis.clr ./data
    fi
    cat $srcdir/patch-* > patches
    patch -p0 <patches
    echo -e $_DESKTOPFILE > $pkgname.desktop
    ./configure --prefix=/usr --verbose $_GENERALCOMPILEOPTS
    sed 's/\<CTAGS\>/ELVTAGS/g; s/ctags\>/elvtags/g; s/ant" elvtags/ant" ctags/' doc/ctags.man >doc/elvtags.man
    /usr/bin/make || return 1
    install -d $pkgdir/usr/bin $pkgdir/usr/share/elvis/ $pkgdir/usr/share/man/man1/
    for i in elvis ref elvtags elvfmt; do
    install -D -s -m755 $i $pkgdir/usr/bin/
    done
    cd $srcdir/elvis-$pkgver/data/
    cp -r * $pkgdir/usr/share/elvis/
    cd $srcdir/elvis-$pkgver/doc/
    install -D -m644 *.html bugs.txt $pkgdir/usr/share/elvis/
    for i in elvis ref elvtags elvfmt; do
    mv $i.man $i.1
    gzip $i.1
    install -D -m644 $i.1.gz $pkgdir/usr/share/man/man1/
    done
    if (( $_COMPILEWX11 ))
    then
    install -D -m644 $srcdir/elvis-$pkgver/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
    install -D -m644 $srcdir/elvis-$pkgver/data/icons/elvis3.xpm $pkgdir/usr/share/pixmaps/$pkgname.xpm
    fi
    Last edited by theapodan (2010-01-20 01:15:08)

    While I didn't actually read your PKGBUILD here, in general, there's no reason not to submit such things to AUR.

  • Is it possible to run sun studio 12 ide with sun studio 8 compiler?

    Hi, i am in the process of evaluating sun studio 12. Our company cannot move to sun studio 12 compiler collection right now as it is a huge code base and it will take us few months even before we start using sun studio 12 compiler in our development environment. Is it possible to use sun studio 12 ide with sun studio 8 compiler collection(CC, dbx etc)? Your feedback is appreciated. thank you.

    There are two parts to the answer.
    1) whether you can
    To choose a compiler set follow Tools->Options->C/C++
    and in the BuildTools tab you'll see how it picks up
    compilers from your PATH.
    This dialog doesn't govern choice of dbx, which will always
    come from the installation. However you can alter which dbx
    is used by presetting the environment variable SPRO_DBX_PATH
    to teh full pathname of a dbx of your choice.
    2) whether you should
    The IDE should work reasonably well with older compilers. They
    are not that tightly bound.
    The IDE will not work well enough with an older dbx, especially as
    old as studio 8. However, while not officially supported or tested
    the SS12 dbx should be reasonably bwd compatible with code
    generated from older compilers.
    So my recommendation is: don't use SPRO_DBX_PATH and
    give the old compilers a try.

  • Running console vim with gui support

    I want to run console vim with gui support so that this plugin will be supported.  The current vim package is complied without gui support.  Gui support is in a seperate "gvim" package.
    Is there a elegant way to run console vim with gui support if I have both packages installed?
    Two ways I've thought about but ultimately discarded are:
    1. Alias "vim" to "gvim -v", which runs gvim in the console.  This works under most normal circumstances, but not under others.  First, if running vim through sudo, my plugins and vimrc are loaded, but as the shell is different, the alias doesn't apply.  Second, as vi is vim, running vi invokes this plugin, but vi calls vim, which doesn't have gui support, so the plugin fails.
    2. Fool with the /usr/bin/vim file.  Admittedly i haven't tried this, but obvious problems I see are when the vim package is updated.  What happens then?
    Is there a more elegant way?

    I want to run vim using a plugin that requires vim to be built with gui support.  The way arch's packages are set up, /usr/bin/vim is owned by the "vim" package, which is compiled without gui support.
    The "gvim" package is (obviously) built with gui support.  Gvim can be run in the console with "gvim -v", which would give me a console vim with gui support.  However, I think you'll agree that typing "gvim -v" everytime I mean "vim" is tedious and not a real solution.

  • Error unsupported memory access on variable 'Decoder.number_of_values' which is (or contain) an array with unknown size at compile time

    Dear All,
    I am a new user of Vivado HLS. I want to pass an array of struct to a function and use elements of struct multiple times in a function (read and write). I find this error "error unsupported memory access on variable 'Decoder.number_of_values' which is (or contain) an array with unknown size at compile time " . Kindly can anyone tell that is it an issue of directive? if yes then which directive to use for struct and its element. Struct and function are as follows.
    typedef struct {
    uint32_t number_of_values ;
    uint32_t  address[16];
    uint8_t Processed_bit :1 ;
    uint32_t links[6];
    } Decoder_Fields;
    void Raptor_LT_decode(int To_Send,Decoder_Fields *Decoder){
        int counter=0;
        int i=0,j=0,k=0,x,aaa;
        Raptor_LT_decode_label0:while(counter<To_Send){
            if((Decoder[counter].number_of_values ==1) &&(Decoder[counter].Processed_bit==0) ){
                Decoder[counter].Processed_bit=1;
                Raptor_LT_decode_label1:for (i=0; i<To_Send;i++){
                   Raptor_LT_decode_label2:for (k=0;k<Decoder[i].number_of_values;k++){
                         if (( Decoder[counter].links[0]==Decoder[i].links[k]) && (counter != i)&&       (Decoder[i].number_of_values!= 1)) {
                            Raptor_LT_decode_label3:for (j=0;j<BLOCK_SIZE_BYTES/4;j++){
                                     Decoder[i].address[i]= Decoder[i].address[j] ^ Decoder[counter].address[j];
                            for (x=k;x<Decoder[i].number_of_values-1;x++) Decoder[i].links[x]=Decoder[i].links[x+1];
                                      Decoder[i].number_of_values--;
                counter=0;
            else
                counter++;
     

    Hi ,
    This question is asked on the forum from time to time and should be described in the UG902
    In your top level, Decoder is a pointer; this is not supported as-is as you need to know its size when you do something like Decoder[i].XXXX : the tool need to know how many bits to size the addess bus.
    you need to change Decoder_Fields *Decoder to Decoder_Fields Decoder[YOURSIZE]
    with YOURSIZE that makes sense; in this case the tool will know that it need N=log2(YOURSIZE) to fully address the Decoder array variable.
    next when you solve that and that all is good... the question that you will need to transfer the data of the structs from host memory to your VHLS IP; you need to think about this.
    I hope this helps.

  • [Request] Mplayer with aac support.

    Could someone make me a mplayer package with aac support? I can't seem to compile it because of Error: Bad gcc version.
    EDIT: Never mind, fixed it.

    Could someone make me a mplayer package with aac support? I can't seem to compile it because of Error: Bad gcc version.
    EDIT: Never mind, fixed it.

Maybe you are looking for