Cuyo binary goes with makepkg to /usr/games instead of /usr/bin

Hi,
I'm trying to write PKGBUILD for the game Cuyo. In the final package, the binary goes always to /usr/games instead of /usr/bin. I'm pretty new to this and I can't figure out, how to change it Can anyone tell me, or give an advice? Thanx
-------------------------PKGBUILD-----------------------
pkgname=cuyo
pkgver=2.1.0beta1
pkgrel=1
pkgdesc="Cuyo is a Tetris-style puzzle game for up to two players with a twist"
arch=(i686)
url="http://www.karimmi.de/cuyo/"
license=('GPL')
groups=()
depends=('sdl_mixer' 'sdl_image')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=(http://download.savannah.gnu.org/releases/cuyo/$pkgname-2.~-1.0~beta1.tar.gz)
noextract=()
md5sums=('2c49f8b2111be4bdd86163b2be4a9485')
build() {
  cd "$startdir/src/$pkgname-2.~-1.0~beta1"
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$startdir/pkg" install

That helped me Now its looks like this:
-------------------------PKGBUILD-----------------------
pkgname=cuyo
pkgver=2.1.0beta1
pkgrel=1
pkgdesc="Cuyo is a Tetris-style puzzle game for up to two players with a twist"
arch=(i686)
url="http://www.karimmi.de/cuyo/"
license=('GPL')
groups=()
depends=('sdl_mixer' 'sdl_image')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=(http://download.savannah.gnu.org/releases/cuyo/$pkgname-2.~-1.0~beta1.tar.gz)
noextract=()
md5sums=('2c49f8b2111be4bdd86163b2be4a9485')
build() {
  cd "$startdir/src/$pkgname-2.~-1.0~beta1"
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$startdir/pkg" install
  mkdir $startdir/pkg/usr/bin
  mv $startdir/pkg/usr/games/$pkgname $startdir/pkg/usr/bin
  rm -r $startdir/pkg/usr/games
Can someone more experienced in this please tell me, if it's right and clean way or not?
Thanx anyway )

Similar Messages

  • CompileXIB /usr/bin/ibtool failed with exit code 255

    Hi
    We have several build machines located at different sites. Recently all the machines, on one site, started to fail with this error
    /usr/bin/ibtool failed with exit code 255
    during a CompileXIB of a updated file. By reverting the change line by line I discovered that the issue was caused by
    <customView appearanceType="lightContent" translatesAutoresizingMaskIntoConstraints="NO" id="119" customClass="CSIWhiteBackgroundHeaderView">
    where the text in red was recently added. If I remove the appearanceType the build succeeds.
    But I can't understand why this is only affecting some of our build machines. All of them are using XCode version 5.0.2 (5A3005). Furthermore this change has not affected the developers workstations.
    The committer usd XCode 5.1. But if appearanceType was specific to XCode 5.1 I would expect all the builders to complain.
    To resolve this problem I tried a deep clean (i.e. Hold alt - Clean Build Folder ...) & I manually delete all the dervived data in /Users/<myuser>/Library/Developer/XCode/DervivedData. But this had no impact.
    Another difference between the machines is the OS. The failing builds are on OSX 10.8.4. The successful ones are on 10.9.
    Any ideas?
    Regards
    Shane

    Our company has just moved from Xcode 4.6.3 to Xcode 5.0.2 and have experienced the exact same issue. Sometimes everything builds fine, sometimes it will give that xib file error. The xibs failing are not always the same.

  • Missing binary in /usr/bin/

    I am trying to get MySQL running on my computer, but the mysql binary is missing from my /usr/bin/ directory. I've tried installing from the standard repositories and compiling myself from ABS, but it never appears.
    Where can I get this file? Is this part of some other package? The pkgbuild file for MySQL doesn't seem to mention it.

    The binary I'm looking for is apparently owned by another package. How do I find out which one?
    I'd use pacman -Qo /usr/bin/mysql but it doesn't exist...
    Last edited by clubsplit (2008-06-03 19:05:14)

  • Missing /usr/bin/reboot

    i use GNOME and arch is up to date as it can be after doing a "pacman -Syu".
    when i use GNOME's shutdown-dialog to reboot the system, GNOME and X stop as they should, but then the system gives a message, "Command failed /usr/bin/reboot" and a short description that it wasn't found.
    the system then takes a short breath of about 5-10 seconds and reboots as it should.
    well, there is no /usr/bin/reboot on my harddisk, just /sbin/reboot...why?
    had the same thing some days ago on another system. was /usr/bin/reboot removed during one of the last updates and GNOME still tries to use it instead of /sbin/reboot?
    Thanks!
    Cheers!

    I had this problem as well and couldn't work out what I had done wrong - I hadn't been fiddling with any settings, honest.  Anyway, it first occurred last Saturday when I shutdown my PC after these updates:
    [2008-02-02 07:49] synchronizing package lists
    [2008-02-02 07:49] starting full system upgrade
    [2008-02-02 07:50] upgraded bash (3.2.025-4 -> 3.2.033-2)
    [2008-02-02 07:50] warning: /etc/profile installed as /etc/profile.pacnew
    [2008-02-02 07:50] warning: directory permissions differ on var/lock/
    filesystem: 775 package: 755
    [2008-02-02 07:50] upgraded filesystem (2007.11-3 -> 2007.11-6)
    [2008-02-02 07:50] upgraded groff (1.19.2-3 -> 1.19.2-4)
    [2008-02-02 07:50] upgraded man (1.6f-1 -> 1.6f-2)
    [2008-02-02 07:50] upgraded mkinitcpio (0.5.17-1 -> 0.5.17-2)
    [2008-02-02 07:50] upgraded mpg123 (1.1.0-3 -> 1.2.0-1)
    and not only was there an error about the missing file but gdm-binary segfaulted.  Here's the entry from everything.log:
    Feb 2 09:53:50 gconfd (david-9810): Exiting
    Feb 2 09:53:50 darkstar gdm-binary[9706]: WARNING: Command failed /usr/bin/poweroff: Failed to execute child process "/usr/bin/poweroff" (No such file or directory)
    Feb 2 09:53:50 darkstar shutdown[11387]: shutting down for system halt
    Feb 2 09:53:50 darkstar init: Switching to runlevel: 0
    Feb 2 09:53:50 darkstar gdm-binary[9706]: segfault at 0000000000000031 rip 00002aaccdefa090 rsp 00007fffdfb2ce28 error 4
    Thing is, looking back through older log entries, the warning about failing to execute /usr/bin/reboot or /usr/bin /poweroff is always there on reboot/shutdown but I had never before seen it echoed to the screen.  Anyway, I wasn't sure where to report the bug but made my own fix in the meantime by adding the following to the daemon section of /etc/gdm/defaults.conf
    RebootCommand=/sbin/reboot
    HaltCommand=/sbin/poweroff
    The other consequence of those Saturday updates, which hasn't gone away yet, is that the normal shutdown messages - stopping this, stopping that etc. - don't always appear.  It's not consistent but more often than not gnome will drop to a console with a login prompt and my PC will shutdown a few seconds later  If I don't start gnome and just run /sbin/poweroff from the console then the usual messages will appear.  As far as I can tell, however, my PC is shutting down properly despite the lack of messages.
    EDIT: And /sbin is in my path.
    EDIT 1: And the segfaults continue (I thought that they'd gone away):
    Feb 6 23:27:08 gconfd (david-9811): Exiting
    Feb 6 23:27:09 darkstar shutdown[15679]: shutting down for system halt
    Feb 6 23:27:09 darkstar init: Switching to runlevel: 0
    Feb 6 23:27:09 darkstar gdm-binary[9706]: segfault at 0000000000000021 rip 00002b63ab165090 rsp 00007fff028bfe48 error 4
    Last edited by azleifel (2008-02-07 22:35:41)

  • HT5730 Lost content on /usr/bin/ and .bash_profile

    I've installed the update and it seems to have reset my .bash_profile.
    It also seems to have removed some programs I had installed under /usr/bin like Git and Macports among others.
    This is a big let down for me, coming from Apple.

    Posix standards have nothing to do with Apple. /usr/bin/ is reserved for binary files delivered from the distribution. /usr/local/bin is available for administrators to add binary files which will not be touched by an update. If you wish to install in /usr/bin then it is YOUR responsibility to maintain the added binaries. MacPorts normally installs in the opt/local/ directory did you customize your installation?
    For some reason /opt/local/bin was removed from my PATH. But yes, MacPorts was actually still installed in that folder.
    I installed Git through the Command Line Tools installation from Xcode, so I didn't choose anything.
    Nevertheless, I did not expect any update to remove anything I've installed on my system nor mess with my home folder without first warning me about it .

  • Is there a way to stop being bombarded with IAds when playing games on the iPad? This is a very annoying new way to advertise Apps.

    Is there a way to stop being bombarded with IAds when using games on my IPad? Is this a new way to advertise Apps?

    If these are the free versions of the games, buy the full version and the iAds should go away. The developer can offer the app for free by selling advertising. If the developer is going to give the app away, he has to be paid for his work somehow.
    There may be some paid apps that might include iAds as well. In those instances, the developer includes the ads in order to subsidize the cost of the app to the end user in order to reduce the cost of the app. You should always read the app description when you download any app to make sure that you know what you are getting into - with regard to ads and in-app purchases.
    Games are the worst offenders - IMO. Many "free" games become totally useless after you reach a certain level or if you reach your limit in lives or potions or things like that. If you want to continue in the game, you than have to make in-app purchases for levels, lives, potions, beads, whatever. You can rack ip quite a bill playing those "free" games if you are not aware of what you are getting into.

  • [SOLVED] (PKGBUILD) problem with makepkg for go-openoffice

    [SOLVED]: In the PKGBUILD, there's a function before build(), named mksource() and a comment "source PKGBUILD && mksource".
    Just run it first, then copy the "/tmp/go-openoffice-source/go-openoffice-ooo320-m12.tar.xz", run "makepkg -s" as usual.
    Thanks :D
    Hi, I tried to makepkg for extra/go-openoffice (from abs) by using "makepkg -s" on my x86_64 laptop, and get the following error (before the build begin):
    ==> ERROR: go-openoffice-ooo320-m12.tar.xz was not found in the build directory and is not a URL.
    I understand that this comes from
    pkgname=go-openoffice
    _ootag=ooo320-m12 # m12 = OOo 3.2.0 RC5
    source=(${_mirror}/${_go_tree}/ooo-build-${_GOver}.tar.gz
        ArchLinux.patch
        ${pkgname}-${_ootag}.tar.xz
    But, I don't know where to find this "go-openoffice-ooo320-m12.tar.xz". Can you please help me to figure out where to find it? Thank you!
    Following is the PKGBUILD for extra/go-openoffice (from abs)
    # $Id: PKGBUILD 74152 2010-03-30 17:02:00Z andyrtr $
    # Maintainer: AndyRTR <[email protected]>
    pkgname=go-openoffice
    _GOver=3.2.0.9 # = post OOo 3.2.0 final bugfix
    pkgver=${_GOver}
    pkgrel=1
    pkgdesc="OpenOffice.org - go-oo.org enhanced version of SUN's office suite"
    arch=('i686' 'x86_64')
    _go_tree="OOO320"
    _ootag=ooo320-m12 # m12 = OOo 3.2.0 RC5
    license=('LGPL3')
    url="http://go-oo.org/"
    install=${pkgname}.install
    depends=("curl>=7.19.6" "hunspell>=1.2.8" "python>=2.6.4" 'libwpd' 'redland>=1.0.10'
    'libxaw' "neon>=0.28.6" "icu>=4.2.1" 'hsqldb-java' 'libxslt' 'libxtst' 'lpsolve'
    'beanshell' 'saxon' 'vigra' 'hyphen' 'libmspack' 'libldap' 'gtk2' 'lucene'
    'hicolor-icon-theme' 'shared-mime-info' 'desktop-file-utils') # 'libmythes' 'libgraphite'
    optdepends=('java-runtime: adds java support'
    'libcups: adds printing support'
    'gconf: adds additional gnome support'
    'nss: adds support for signed files/macros'
    'pstoedit: translates PostScript and PDF graphics into other vector formats'
    'poppler: for the pdfimport extension'
    'mesa: for the OGLTrans extension'
    'mono: allows UNO automation with Mono'
    'gstreamer0.10-base: + some gstr-plugins to support multimedia content, e.g. in impress'
    'kdelibs: for kde integration')
    makedepends=('automake' 'autoconf' 'wget' 'bison' 'findutils' 'flex' 'gawk' 'gcc-libs' 'libart-lgpl'
    'pam' 'sane' 'perl-archive-zip' 'pkgconfig' 'unzip' 'zip' "xulrunner>=1.9.2-4" 'apache-ant' 'cairo'
    'gperf' 'libcups' 'pstoedit' 'gconf' "openjdk6>=1.5.2" 'unixodbc' 'mesa>=7.5' 'poppler>=0.10.7'
    'gstreamer0.10-base>=0.10.26' 'mono>=2.6.1' 'kdelibs>=4.4.0' 'libjpeg' 'boost' 'git' 'rsync')
    backup=(usr/lib/go-openoffice/program/sofficerc)
    provides=('openoffice-base')
    conflicts=('openoffice-base')
    _mirror="http://download.go-oo.org/"
    source=(${_mirror}/${_go_tree}/ooo-build-${_GOver}.tar.gz
    ArchLinux.patch
    ${pkgname}-${_ootag}.tar.xz
    http://download.go-oo.org//DEV300/ooo-cli-prebuilt-3.2.tar.bz2
    http://cairographics.org/releases//cairo-1.4.10.tar.gz
    http://download.go-oo.org//SRC680/mdbtools-0.6pre1.tar.gz
    http://download.go-oo.org//SRC680/extras-3.tar.bz2
    http://download.go-oo.org//SRC680/biblio.tar.bz2
    http://tools.openoffice.org/unowinreg_prebuild/680//unowinreg.dll
    http://download.go-oo.org//DEV300/scsolver.2008-10-30.tar.bz2
    http://download.go-oo.org//libwpd/libwpd-0.8.14.tar.gz
    http://download.go-oo.org//SRC680/libwps-0.1.2.tar.gz
    http://download.go-oo.org//SRC680/libwpg-0.1.3.tar.gz
    http://download.go-oo.org//DEV300/ooo_oxygen_images-2009-06-17.tar.gz
    http://download.go-oo.org/src//seamonkey-1.1.14.source.tar.gz
    http://archive.apache.org/dist/ant/binaries/apache-ant-1.7.0-bin.tar.gz
    buildfix_64bit_system_libjpeg.diff
    system-redland.patch
    localize-ooo.diff)
    #options=('!distcc' '!ccache' '!makeflags')
    options=('!makeflags')
    noextract=(ooo-cli-prebuilt-3.2.tar.bz2 cairo-1.4.10.tar.gz mdbtools-0.6pre1.tar.gz extras-3.tar.bz2 biblio.tar.bz2 unowinreg.dll
    scsolver.2008-10-30.tar.bz2 libwpd-0.8.14.tar.gz libwps-0.1.2.tar.gz libwpg-0.1.3.tar.gz ooo_oxygen_images-2009-06-17.tar.gz)
    # source PKGBUILD && mksource
    mksource() {
    mkdir /tmp/$pkgname-source
    pushd /tmp/$pkgname-source
    wget ${_mirror}/${_go_tree}/ooo-build-${_GOver}.tar.gz
    tar -xvf ooo-build-${_GOver}.tar.gz
    cd ooo-build-${_GOver}
    ./configure --quiet --with-distro=ArchLinux
    ./download --all
    pushd src; tar -cvJf ../../${pkgname}-${_ootag}.tar.xz clone; popd
    popd
    build() {
    unset J2REDIR; unset J2SDKDIR; unset JAVA_HOME; unset CLASSPATH
    [ -z "${JAVA_HOME}" ] && . /etc/profile.d/openjdk6.sh
    [ -z "${MOZ_PLUGIN_PATH}" ] && . /etc/profile.d/mozilla-common.sh
    [ -z "${ANT_HOME}" ] && . /etc/profile.d/apache-ant.sh
    cd ${srcdir}/ooo-build-${_GOver}
    # our ArchLinux distribution patch until we go upstream
    patch -Np0 -i ${srcdir}/ArchLinux.patch || return 1
    # buildfix for broken language settings in build
    patch -Np0 -i ${srcdir}/localize-ooo.diff || return 1
    # fix bugs with recent system redland
    patch -Np1 -i ${srcdir}/system-redland.patch || return 1
    # hotfixes not yet upstream
    # cp ${srcdir}/*.diff ${srcdir}/ooo-build-${_GOver}/patches/hotfixes/
    cp ${srcdir}/buildfix_64bit_system_libjpeg.diff ${srcdir}/ooo-build-${_GOver}/patches/hotfixes/
    # export C(XX)FLAGS
    # http://www.openoffice.org/issues/show_bug.cgi?id=103205
    unset CFLAGS
    unset CXXFLAGS
    # export ARCH_FLAGS="$CFLAGS"
    if [ "$CARCH" = "x86_64" ]; then
    EXTRAOPTS="--without-stlport"
    else EXTRAOPTS="--with-stlport"
    fi
    # autoreconf
    ./configure --with-distro=ArchLinux \
    --with-build-version="${_GOver} ArchLinux build-${pkgrel} (${_ootag})"\
    --with-srcdir=${srcdir} \
    --with-max-jobs=${MAKEFLAGS/-j/} \
    --with-installed-ooo-dirname="${pkgname}" \
    --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \
    --with-docdir=/usr/share/doc/packages/"${pkgname}" \
    --mandir=/usr/share/man \
    --with-lang="" \
    --with-dict=ALL\
    --with-binsuffix=no \
    --disable-ldap \
    --enable-cairo\
    --disable-kde\
    --enable-kde4\
    --enable-lockdown\
    --with-system-boost\
    --with-system-cairo\
    --enable-crashdump\
    --without-gpc\
    --enable-opengl \
    --enable-minimizer \
    --enable-presenter-console \
    --enable-pdfimport \
    --enable-wiki-publisher \
    --enable-ogltrans \
    --with-ant-home="/usr/share/java/apache-ant"\
    --with-system-saxon\
    --with-saxon-jar=/usr/share/java/saxon/saxon9he.jar\
    --with-system-lucene\
    --with-lucene-core-jar=/usr/share/java/lucene-core.jar\
    --with-lucene-analyzers-jar=/usr/share/java/lucene-analyzers.jar\
    --with-system-beanshell\
    --with-system-vigra\
    --with-system-altlinuxhyph\
    --with-system-lpsolve\
    $EXTRAOPTS || return 1
    # --with-system-mythes\
    # --with-system-graphite\
    # --with-tag=${_ootag}
    # --enable-report-builder \
    # --with-additional-sections="OOXMLExport"
    unset MAKEFLAGS
    # ./download
    LD_PRELOAD="" make || return 1
    package() {
    cd ${srcdir}/ooo-build-${_GOver}
    LD_PRELOAD="" make DESTDIR=${pkgdir} install || return 1
    # install all built dictionaries from source tree
    pushd ${srcdir}/ooo-build-${_GOver}/build/${_ootag}/dictionaries/unxlng?6.pro/bin/
    for i in `ls -1 dict-??.oxt`; do
    install -D -m644 $i ${pkgdir}/usr/lib/"${pkgname}"/share/extension/install/$i || return 1
    done
    popd
    # install all other built extensions
    pushd ${srcdir}/ooo-build-${_GOver}/build/${_ootag}/solver/320/unxlng?6.pro/bin/
    install -m644 pdfimport/pdfimport.oxt ${pkgdir}/usr/lib/"${pkgname}"/share/extension/install/pdfimport.oxt || return 1
    install -m644 swext/wiki-publisher.oxt ${pkgdir}/usr/lib/"${pkgname}"/share/extension/install/wiki-publisher.oxt || return 1
    install -m644 minimizer/sun-presentation-minimizer.oxt ${pkgdir}/usr/lib/"${pkgname}"/share/extension/install/sun-presentation-minimizer.oxt || return 1
    install -m644 presenter/presenter-screen.oxt ${pkgdir}/usr/lib/"${pkgname}"/share/extension/install/presenter-screen.oxt || return 1
    popd
    # fix unopkg call for mktemp, #15410
    sed -i "s:\/bin\/mktemp:\/usr\/bin\/mktemp:" ${pkgdir}/usr/lib/go-openoffice/program/unopkg || return 1
    #fix http://bugs.archlinux.org/task/17656
    find ${pkgdir} -perm 444 -exec ls -lh {} \;
    find ${pkgdir} -perm 444 -exec chmod 644 {} \;
    find ${pkgdir} -perm 555 -exec ls -lh {} \;
    find ${pkgdir} -perm 555 -exec chmod 755 {} \;
    Last edited by timefairy (2010-04-08 10:41:35)

    jryarch wrote:Thanks for your response, how do I actually run it automated? I'm doing it manual right now, but I suppose that's not the idea.
    I suppose that the function can be run as $1, I don't know (I mean `bash PKGBUILD mksource`). Nevertheless, you know what to do now
    Last edited by flamelab (2010-04-07 11:44:58)

  • [SOLVED]I can build a package with "make install" but not with makepkg

    I'm quite new to Arch and it's my first PKGBUILD.
    I successfully built the software lhapdf http://www.hepforge.org/archive/lhapdf/ … 3.1.tar.gz with the traditional system:
    1) I do a patch for compatibility with gcc 4.3
    cd lhapdf-5.3.1
    sed -i "s/<string>/<cstring>/" ccwrap/test-lhapdf-ccwrap.cc
    and then
    ./configure --prefix=/usr
    make
    sudo make install
    Then I tried to write a PKGBUILD
    pkgname=lhapdf
    pkgver=5.3.1
    pkgrel=1
    pkgdesc="Unified and easy to use interface to modern PDF sets"
    arch=(i686 x86_64)
    url="http://projects.hepforge.org/lhapdf"
    license=('GPL')
    groups=()
    depends=()
    makedepends=()
    provides=()
    conflicts=()
    replaces=()
    backup=()
    options=()
    install=
    source=(http://www.hepforge.org/archive/lhapdf/$pkgname-$pkgver.tar.gz)
    noextract=()
    md5sums=() #generate with 'makepkg -g'
    build() {
    cd "$srcdir/$pkgname-$pkgver"
    #Change needed in order to compile with gcc 4.3
    sed -i "s/<string>/<cstring>/" ccwrap/test-lhapdf-ccwrap.cc
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR="$pkgdir" install
    # vim:set ts=2 sw=2 et:
    and it doesn't work. The last lines of the output of makepkg are:
    g++ -march=nocona -O2 -pipe -o .libs/test-lhapdf-ccwrap test-lhapdf-ccwrap.o -L/home/cafarell/abs/lhapdf/src/lhapdf-5.3.1/ccwrap -L/home/cafarell/abs/lhapdf/src/lhapdf-5.3.1/src -lLHAPDFWrap /home/cafarell/abs/lhapdf/src/lhapdf-5.3.1/src/.libs/libLHAPDF.so -Wl,--rpath -Wl,/usr/lib
    /usr/bin/ld: cannot find -lLHAPDFWrap
    collect2: ld returned 1 exit status
    make[1]: *** [test-lhapdf-ccwrap] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: Leaving directory `/home/cafarell/abs/lhapdf/src/lhapdf-5.3.1/ccwrap'
    make: *** [all-recursive] Error 1
    ==> ERRORE: Compilazione interrotta.
    L'operazione sta per essere interrotta...
    Any idea?
    Last edited by alcafar (2008-04-09 11:03:00)

    Thank you Snowman, it works with options=('!makeflags'). The changes in the paths were not needed, I copied them from /usr/share/pacman/PKGBUILD.proto, probably is some new feature.
    Now, I'd like to post the PKGBUILD to AUR. This is currently my PKGBUILD:
    # Contributor: My name <[email protected]>
    pkgname=lhapdf
    pkgver=5.3.1
    pkgrel=1
    pkgdesc="Unified and easy to use interface to modern PDF sets"
    arch=(i686 x86_64)
    url="http://projects.hepforge.org/lhapdf"
    license=('GPL')
    groups=()
    depends=(gcc-libs)
    makedepends=()
    provides=()
    conflicts=()
    replaces=()
    backup=()
    options=('!makeflags')
    install=
    source=(http://www.hepforge.org/archive/lhapdf/$pkgname-$pkgver.tar.gz)
    noextract=()
    md5sums=('df667840071996d2c58a125567be26b2')
    build() {
    cd "$srcdir/$pkgname-$pkgver"
    #Change needed in order to compile with gcc 4.3
    sed -i "s/<string>/<cstring>/" ccwrap/test-lhapdf-ccwrap.cc
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR="$pkgdir" install
    # vim:set ts=2 sw=2 et:
    I have the following output from namcap:
    $ namcap lhapdf-5.3.1-1-x86_64.pkg.tar.gz
    lhapdf W: File (usr/lib/libLHAPDFWrap.la) is a libtool file.
    lhapdf W: File (usr/lib/libLHAPDF.la) is a libtool file.
    $ namcap PKGBUILD
    PKGBUILD (lhapdf) W: Missing Maintainer tag
    PKGBUILD (lhapdf) W: Missing CVS Id tag
    and this output from ldd
    $ ldd libLHAPDF.so
    linux-vdso.so.1 => (0x00007fff86dfe000)
    libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0x00002b70367fe000)
    libm.so.6 => /lib/libm.so.6 (0x00002b7036ace000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00002b7036d52000)
    libc.so.6 => /lib/libc.so.6 (0x00002b7036f69000)
    /lib/ld-linux-x86-64.so.2 (0x0000555555554000)
    $ ldd libLHAPDFWrap.so
    linux-vdso.so.1 => (0x00007fffeeffe000)
    libLHAPDF.so.0 => not found
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002b11bbd53000)
    libm.so.6 => /lib/libm.so.6 (0x00002b11bc060000)
    libc.so.6 => /lib/libc.so.6 (0x00002b11bc2e3000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00002b11bc636000)
    /lib/ld-linux-x86-64.so.2 (0x0000555555554000)
    What should I add to PKGBUILD?
    The program is in fortran, so I'm surprised that namcap did not add gcc-fortran in the dependencies. Should I add it to depends or makedepends? Or maybe it is included in gcc-libs?

  • /usr/bin/ld: CANNOT EXECUTE binary file!

    So whenever I try to compile something, I get to the step
    checking for gcc... gcc
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    And looking at the log, my problem is...
    /usr/bin/ld: /usr/bin/ld: cannot execute binary file
    Which... Is bad. Yes, I've tried chmodding it +x. I've also tried logging in as root and trying to run it, no luck.
    What's wrong? =/
    Would asking someone else with an iMac G5 to send me theirs, fix it?

    Running configure on all open source packages brings me to the ld cannot execute error in configure.log. In this case I was attempting to build libssh2 (SSH functions for PHP).
    Thanks for the link Nils, I'll try that.

  • [SOLVED] /usr/bin/makepkg: line 337:

    I have a problem installing packages from AUR with yaourt:
    ==> Making package: virtualbox_bin 3.2.4-1 i686 (Tue Jun  8 15:01:07 EEST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> ERROR: The download program wget is not installed.
        Aborting...
      -> Downloading VirtualBox-3.2.4-62431-Linux_x86.run...
    /usr/bin/makepkg: line 337: http://download.virtualbox.org/virtualb … ux_x86.run: No such file or directory
    ==> ERROR: Failure while downloading VirtualBox-3.2.4-62431-Linux_x86.run
        Aborting...
    ==> ERROR: Makepkg was unable to build virtualbox_bin.
    ==> Restart building virtualbox_bin ? [y/N]
    Last edited by Cosmin (2010-06-08 12:57:34)

    ber_t wrote:
    Cosmin wrote:
    I have a problem installing packages from AUR with yaourt:
    ==> Making package: virtualbox_bin 3.2.4-1 i686 (Tue Jun  8 15:01:07 EEST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> ERROR: The download program wget is not installed.
        Aborting...
      -> Downloading VirtualBox-3.2.4-62431-Linux_x86.run...
    /usr/bin/makepkg: line 337: http://download.virtualbox.org/virtualb … ux_x86.run: No such file or directory
    ==> ERROR: Failure while downloading VirtualBox-3.2.4-62431-Linux_x86.run
        Aborting...
    ==> ERROR: Makepkg was unable to build virtualbox_bin.
    ==> Restart building virtualbox_bin ? [y/N]
    Seems like wget isn't installed.
    Thank you. That was the problem.

  • Problem building kernel with makepkg

    I tried several times building a custom 2.6.8.1 kernel with makepkg and the PKGBUILD file obtained from http://wiki.archlinux.org/index.php/Ker … with%20ABS. Unfortionately, the process allways ends with the following error:
    ln: when making multiple links, last argument must be a directory
    make: *** [_modinst_] Error 1
    ==> ERROR: Build Failed.  Aborting...
    Is there something wrong with the build file posted on the wiki or am I doing something stupid?

    Err... I might have done a small mistake in my previous post.
    I didn't try to build the kernel using the Wiki page above.
    I've used http://wiki.archlinux.org/index.php/Bui … with%20ABS
    You can find below the revised PKGBUILD for that page. It might look weird, but it's very functional. It should also work with the stock kernels.
    This PKGBUILD includes kernel version/revision autodetection. This helps when you apply patches which change those variables (such as ck, mm etc.). The changes I've made automatically change the package details (pkgname, pkgver, pkgdesc) to reflect the kernel changes.
    Please test because I've made some cosmetic changes lately which might have scrambled something around there. If you find it working, please post here and I'll put it in the Wiki page above. Maybe it could also be used as a base for building kernels with the ABS.
    Any feedback is welcomed. Enjoy.
    # ChangeLog
    # v0.3 2004/08/19 - Mircea Ionut Bardac (IceRAM)
    # Updated the PKGBUILD for autodetection of the kernel version and kernel revision
    # v0.2 2004/07/23 - Wojciech Szlachta
    # Modified from official PKGBUILD for kernel26-scsi by judd <[email protected]>
    # and from custom PKGBUILD to support multiple installed kernels by jea.
    # you can leave kerrev empty if you don't want to name the kernel in any way
    kerrev=
    pkgname=kernel26
    pkgver=2.6.7
    pkgrel=1
    pkgdesc="Custom Linux Kernel and modules"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2
    config
    md5sums=('a74671ea68b0e3c609e8785ed8497c14'
    '4da09ca74deafb3c6769b8de895e089b'
    getvar() {
    old=$(cat Makefile | grep "^$1")
    echo $(echo ${old/"$1 ="/} | sed -e "s/[ ]*(.*)[ ]*/1/g")
    return 0
    build() {
    cd $startdir/src/linux-$pkgver
    # apply patches here
    # patch -p1 < ../patch1
    # get rid of the 'i' in i686
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    # make changes in kernel configuration
    make oldconfig || return 1
    cp ./.config ../../config.new
    #use the following line instead of the 2 lines above for default config
    #yes "" | make config || return 1
    # set EXTRAVERSION to create unique /lib/modules/ subdirectories
    _ker_extraversion=$(getvar "EXTRAVERSION")
    # update EXTRAVERSION in the Makefile
    _oldline=$(cat Makefile | grep "^EXTRAVERSION")
    if [ $kerrev != "" ]; then
    _ker_extraversion="$_ker_extraversion-$kerrev"
    cat Makefile | sed "s|$_oldline|EXTRAVERSION = $_ker_extraversion|" > tmpMake
    mv tmpMake Makefile
    fi
    kerrev=$_ker_extraversion
    kerver=$(getvar "VERSION").$(getvar "PATCHLEVEL").$(getvar "SUBLEVEL")
    # update the package information from the kernel Makefile
    pkgver=$kerver$(echo $_ker_extraversion | sed -e 's/-/./g')
    # removing patches versions from the revision string
    _n1=$(expr match $kerrev '([.][0-9]*)')
    _n21=$(expr match $q '[.][0-9]*(.*)')
    _n2=$(echo $_n21 | sed -e "s/[0-9]*-/-/g")
    pkgname=kernel26$_n1$_n2
    pkgdesc="Custom Linux Kernel ($kerver) and modules - revision $kerrev / package version: $pkgver build: $pkgrel"
    echo "- Package information ----------------"
    echo " Package name: $pkgname"
    echo " Package version: $pkgver"
    echo " Package release: $pkgrel"
    echo " Kernel version: $kerver"
    echo " Kernel revision: $kerrev"
    echo "--------------------------------------"
    make clean bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    # create unique names in /boot/
    cp System.map $startdir/pkg/boot/System.map26$kerrev
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26$kerrev
    install -D -m644 Makefile $startdir/pkg/usr/src/linux-$kerver/Makefile
    install -D -m644 .config $startdir/pkg/usr/src/linux-$kerver/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26$kerrev
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/include
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/arch/i386/kernel
    for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-$kerver/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp -a scripts $startdir/pkg/usr/src/linux-$kerver/
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/.tmp_versions
    cp arch/i386/Makefile $startdir/pkg/usr/src/linux-$kerver/arch/i386/
    cp arch/i386/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-$kerver/arch/i386/kernel/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-$kerver/$i
    done
    cd $startdir/pkg/usr/src/linux-$kerver/include && ln -s asm-i386 asm
    chown -R root.root $startdir/pkg/usr/src/linux-$kerver
    # create a unique subdirectory under /usr/src/
    cd $startdir/pkg/usr/src
    mv linux-$kerver linux-$kerver$kerrev
    cd $startdir/pkg/lib/modules/$kerver$kerrev &&
    (rm -f build; ln -sf /usr/src/linux-$kerver$kerrev build)

  • Compiled dwm with makepkg dont install

    i`ve tryed to compile and install a dwm-sprinkles with modifyed conf.h (by me). Everything on compilation is ok.
    I just run makepkg -efi --asroot and it, apparently, install the new dwm! but its not installed!
    for some unknow reason, this process just delete the old bin of dwm and do not install the new version
    any tip?
    very sorry for english .-.

    Lars Stokholm wrote:Try running 'tar tf packakage.tar.xz'. Does it contain /usr/bin/dwm?
    Yes, look
    tar tf dwm-sprinkles-5.8.2-4-x86_64.pkg.tar.xz
    .PKGINFO
    usr/
    usr/share/
    usr/bin/
    usr/bin/dwmm
    usr/bin/dwm
    usr/share/man/
    usr/share/doc/
    usr/share/dwm/
    usr/share/licenses/
    usr/share/licenses/dwm-sprinkles/
    usr/share/licenses/dwm-sprinkles/LICENSE
    usr/share/dwm/src/
    usr/share/dwm/src/other/
    usr/share/dwm/src/Makefile
    usr/share/dwm/src/config.def.h
    usr/share/dwm/src/config.mk
    usr/share/dwm/src/dwm.c
    usr/share/dwm/src/layouts/
    usr/share/dwm/src/layouts/bstackhoriz.c
    usr/share/dwm/src/layouts/bstack.c
    usr/share/dwm/src/layouts/.svn/
    usr/share/dwm/src/layouts/gaplessgrid.c
    usr/share/dwm/src/layouts/nbstack.c
    usr/share/dwm/src/layouts/fibonacci.c
    usr/share/dwm/src/layouts/grid.c
    usr/share/dwm/src/layouts/.svn/entries
    usr/share/dwm/src/layouts/.svn/props/
    usr/share/dwm/src/layouts/.svn/tmp/
    usr/share/dwm/src/layouts/.svn/prop-base/
    usr/share/dwm/src/layouts/.svn/text-base/
    usr/share/dwm/src/layouts/.svn/text-base/nbstack.c.svn-base
    usr/share/dwm/src/layouts/.svn/text-base/grid.c.svn-base
    usr/share/dwm/src/layouts/.svn/text-base/fibonacci.c.svn-base
    usr/share/dwm/src/layouts/.svn/text-base/bstack.c.svn-base
    usr/share/dwm/src/layouts/.svn/text-base/gaplessgrid.c.svn-base
    usr/share/dwm/src/layouts/.svn/text-base/bstackhoriz.c.svn-base
    usr/share/dwm/src/layouts/.svn/tmp/props/
    usr/share/dwm/src/layouts/.svn/tmp/prop-base/
    usr/share/dwm/src/layouts/.svn/tmp/text-base/
    usr/share/dwm/src/other/togglemax.c
    usr/share/dwm/src/other/.svn/
    usr/share/dwm/src/other/push.c
    usr/share/dwm/src/other/.svn/entries
    usr/share/dwm/src/other/.svn/props/
    usr/share/dwm/src/other/.svn/tmp/
    usr/share/dwm/src/other/.svn/prop-base/
    usr/share/dwm/src/other/.svn/text-base/
    usr/share/dwm/src/other/.svn/text-base/togglemax.c.svn-base
    usr/share/dwm/src/other/.svn/text-base/push.c.svn-base
    usr/share/dwm/src/other/.svn/tmp/props/
    usr/share/dwm/src/other/.svn/tmp/prop-base/
    usr/share/dwm/src/other/.svn/tmp/text-base/
    usr/share/doc/dwm-sprinkles/
    usr/share/doc/dwm-sprinkles/README
    usr/share/man/man1/
    usr/share/man/man1/dwm.1.gz

  • Error with makepkg - no error without [solved]

    When compiling audacity with the standard PKGBUILD but with other configure options (./ configure --prefix=/usr --with-portaudio=v19 --without-portmixer), configure exits with the following error:
    $ configure: warning: CC=gcc: invalid host type
    $ configure: warning: CXX=g++: invalid host type
    $ configure: error: can only configure for one host and one target at a time
    $ configure: error: /bin/sh './configure' failed for lib-src/portaudio-v19
    if run outside makepkg, the configure command runs fine.
    This configure file contains a call to another configure located in a subdirectory and it's when this second one is called that the error occurs.
    Is there a bug here or is it by design supposing that this kind of nested configure files should not be written like this?

    Thanks for the tip. After playng with makepkg.conf, it appears that the rror occurs when audacity is compiled with the standard options:
    export CFLAGS="-march=i686 -O2 -pipe"
    export CXXFLAGS="-march=i686 -O2 -pipe"
    Without them, it compiles well.

  • SOLVED /usr/bin/makepkg: line 552: build: command not found

    I'm trying to build a custom kernel, but am receiving this error:
    /usr/bin/makepkg: line 552: build: command not found
    I've searched all over for a fix, but haven't had any luck, it doesn't seem to be a common error, or it's so incredibly easy to fix that noone has bothered 
    Thanks for any help.
    /crobot

    Thanks for your response, it has failed on two builds, i'll post both.
    Here's the first:
    # $Id: PKGBUILD,v 1.26 2004/10/06 18:21:54 judd Exp $
    # Maintainer: judd <[email protected]>
    pkgname=kernel26
    pkgver=2.6.8.1
    pkgrel=3
    pkgdesc="The Linux Kernel and modules (IDE support)"
    url="http://www.kernel.org"
    backup=('boot/kconfig26')
    depends=('module-init-tools')
    install=kernel26.install
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2
    config cdburning.patch logo_linux_clut224.ppm
    bio_uncopy_user-mem-leak.patch bio_uncopy_user-mem-leak-fix.patch
    http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/26-stable-release/acpi-20040715-2.6.8.diff.bz2)
    md5sums=('9517ca999e822b898fbdc7e72796b1aa' '20ad5bea85099dfcced9a6b91064b04e'
    '66b87662e6dd54b6324f874739fa1b99' '5a62bcc7e96601052c7405459b483826'
    'd2329bc663089cd99b8dbfd25b6a7ebc' '15a9165ae02c4a3a3875fb7924a68cbf'
    'e00d08709581f215b15e321d162f782c')
    build() {
    cd $startdir/src/linux-$pkgver
    patch -Np1 -i ../bio_uncopy_user-mem-leak.patch || return 1
    patch -Np1 -i ../bio_uncopy_user-mem-leak-fix.patch || return 1
    patch -Np1 -i ../cdburning.patch || return 1
    #patch -Np1 -i ../acpi-20040715-2.6.8.diff || return 1
    # Arch logo!
    cp ../logo_linux_clut224.ppm drivers/video/logo/
    # get rid of the 'i' in i686
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    yes "" | make config
    make clean bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    cp System.map $startdir/pkg/boot/System.map26
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26
    install -D -m644 Makefile $startdir/pkg/usr/src/linux-$pkgver/Makefile
    install -D -m644 .config $startdir/pkg/usr/src/linux-$pkgver/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/include
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/arch/i386/kernel
    for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-$pkgver/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp -a scripts $startdir/pkg/usr/src/linux-$pkgver/
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/.tmp_versions
    cp arch/i386/Makefile $startdir/pkg/usr/src/linux-$pkgver/arch/i386/
    cp arch/i386/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-$pkgver/arch/i386/kernel/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-$pkgver/$i
    done
    cd $startdir/pkg/usr/src/linux-$pkgver/include && ln -s asm-i386 asm
    chown -R root.root $startdir/pkg/usr/src/linux-$pkgver
    cd $startdir/pkg/lib/modules/$pkgver &&
    (rm -f source build; ln -sf /usr/src/linux-$pkgver build)
    Here's the second:
    ###### Give the kernel a unique name (for multiple builds - can be empty)
    _kerrev=crobot
    ###### Choose generic name, version, and release. updated later for $_kerrev
    pkgname=kernel26
    pkgver=2.6.8.1
    pkgrel=1
    pkgdesc="Custom Linux Kernel and modules"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    ###### Add a default config file and any patches to be applied to source array
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2)
    ###### Add md5 checksums here:
    #md5sum=()
    getvar() {
    old=$(cat Makefile | grep "^$1")
    echo $(echo ${old/"$1 ="/} | sed -e "s/[ ]*(.*)[ ]*/1/g")
    return 0
    build() {
    cd $startdir/src/linux-$pkgver
    ###### apply patches here
    # patch -p1 < ../patch1 #model
    #get rid of i in i686 in default config
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    ###### Choose one of the following configuration types
    ###### Use first option for config in source array
    #yes "" | make config
    #make oldconfig || return 1
    make menuconfig
    #make xconfig
    #make gconfig
    ##### No user changes below here
    # save the configuration with today's date
    cp ./.config ../../NEWCONFIG-$(date +%b%d)
    # set EXTRAVERSION to create unique /lib/modules/ subdirectories
    _ker_extraversion=$(getvar "EXTRAVERSION")
    # update EXTRAVERSION in the Makefile by adding our _kerrev
    _oldline=$(cat Makefile | grep "^EXTRAVERSION")
    if [ $_kerrev != "" ]; then
    _ker_extraversion="$_ker_extraversion-$_kerrev"
    cat Makefile | sed "s|$_oldline|EXTRAVERSION = $_ker_extraversion|" > tmpMake
    mv tmpMake Makefile
    fi
    _kerrev=$_ker_extraversion
    kerver=$(getvar "VERSION").$(getvar "PATCHLEVEL").$(getvar "SUBLEVEL")
    # update the package information from the kernel Makefile
    # (just in case the Makefile changed during a patch)
    pkgver=$kerver$(echo $_kerrev | sed -e 's/-/./g')
    pkgdesc="Custom Linux Kernel and modules version: $kerver revision: $_kerrev /
    package ver: $pkgver build: $pkgrel"
    # changing the package name
    # removing patches versions from the revision string
    _t=$(echo $_kerrev | sed -e "s/^..[0-9]*//g")
    # _t=$(echo $_t | sed -e "s/^-rc[0-9]?*//g")
    # _suf contains the suffix identifying the kernel (it has the versions removed from
    it)
    _suf=$(echo $_t | sed -e "s/[0-9]*-/-/g")
    pkgname=kernel26$_suf
    echo "Package name: $pkgname"
    echo "Package ver: $pkgver"
    echo "Package desc: $pkgdesc"
    sleep 5
    make clean bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    # create unique names in /boot/
    cp System.map $startdir/pkg/boot/System.map26$_suf
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26$_suf
    install -D -m644 Makefile $startdir/pkg/usr/src/linux-$kerver/Makefile
    install -D -m644 .config $startdir/pkg/usr/src/linux-$kerver/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26$_suf
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/include
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/arch/i386/kernel
    for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-$kerver/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp -a scripts $startdir/pkg/usr/src/linux-$kerver/
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/.tmp_versions
    cp arch/i386/Makefile $startdir/pkg/usr/src/linux-$kerver/arch/i386/
    cp arch/i386/kernel/asm-offsets.s
    $startdir/pkg/usr/src/linux-$kerver/arch/i386/kernel/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-$kerver/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-$kerver/$i
    done
    cd $startdir/pkg/usr/src/linux-$kerver/include && ln -s asm-i386 asm
    chown -R root.root $startdir/pkg/usr/src/linux-$kerver
    # create a unique subdirectory under /usr/src/
    cd $startdir/pkg/usr/src
    mv linux-$kerver linux-$kerver$_kerrev
    cd $startdir/pkg/lib/modules/$kerver$_kerrev &&
    (rm -f build; ln -sf /usr/src/linux-$kerver$_kerrev build)
    Thanks,
    /crobot

  • 1.4.2.04 Binary Compatible with 1.3.1.07?

    OS is Solaris 7 on SPARC. Have an app built with 1.3.1.07. Building againt 1.4.2.04 is futile because of the import statement (package-less classes) issue.
    Attempted to run the app against JVM 1.4.2.04, and get JVM core dumps... log file (created by JVM) does not know exact method, but stated that error was near call JVM_GelClassLoader. App is C++ that communicates with Java classes via JNI.
    Is 1.3.1.07 binary compatible with 1.4.2.04?

    Please disregard!!

Maybe you are looking for

  • Primary contact and contact field in activity

    Hi all, I am trying to create few contacts under an account and set one contact as primary contact. Then i am trying to craete an activity for that account.In that Activity there are two fields "Contact" and "Primary Contact".But when I try to pick u

  • Where clause with XMLExists and join on another table

    Hi, We have table like: drop table xml_tbl; create table xml_tbl ( xml_msg_id integer, xml_msg_text xmltype insert into xml_tbl values (1, '<main><id>1</id></main>') ; insert into xml_tbl values --(xml_msg_id,xml_msg_text) (1, '<main><id>2</id></main

  • Inbound Process Code for ARTMAS

    Hello, Can any body help me which Inbound Process Code I need to use for Message type ARTMAS. When I used process code AFSA, Idoc created with status 51 and it says Function module not allowed: AFS_RETAIL_ARTMAS_IDOC_INPUT We are using SAP Retail 4.6

  • Service Accounts for Browser Services and FD Launcher (Full-text Search)

    I am setting up SQL Failover Clustering (Version: 2012SP1) on Windows 2012. There are 2 options to configure the service account for Browser Services and FD Launcher : Option 1) Using separate domain accounts, as what I have done for DB Engine and SQ

  • Master-detail automatic query

    How to query the detail block in a master-detail form when I change any master key field? null