You are not logged in.

#1 2015-01-13 09:45:45

tzomatz
Member
Registered: 2013-07-05
Posts: 30

bochs-with-debugger wont compile

Hello

Im trying to compile bochs with the option that includes wxgtk but I am not able to compile it.

It failes with an error wx.lo not found.

I have installed lib32-wxgtk and wxgtk

What could be the problem? I didnt find anything relevant on Google, or anywhere else.

Offline

#2 2015-01-13 10:26:57

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: bochs-with-debugger wont compile

Could you show your PKGBUILD?

Offline

#3 2015-01-14 11:58:25

tzomatz
Member
Registered: 2013-07-05
Posts: 30

Re: bochs-with-debugger wont compile

# Mantainer: WinterXMQ <WinterXMQ at gmail dot com>
# Contributor: WinterXMQ <WinterXMQ at gmail dot com>

pkgname=bochs-with-debugger
_pkgrealname=bochs
pkgver=2.6.2
pkgrel=3
pkgdesc="A portable x86 PC emulation software package with builtin debugger"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://bochs.sourceforge.net/"
source=(http://downloads.sourceforge.net/project/${_pkgrealname}/${_pkgrealname}/${pkgver}/${_pkgrealname}-${pkgver}.tar.gz)
sha512sums=('b35cf940520d2489657a1724f399553f7a52428fd4a84b1c38452723cc47bfbc242853489701c1aa577903045ce3dae4ca475c8934953b66bcc247d50835c7d3')
depends=('gcc-libs' 'libxrandr' 'gtk2')
conflicts=('bochs')

build() {
    cd "${srcdir}/${_pkgrealname}-${pkgver}"
    ## build Debug Bochs
    ./configure \
        --enable-smp \
        --with-x11 \
        --with-sdl \
        --enable-smp \
        --enable-3dnow \
        --enable-x86-64 \
        --enable-avx \
        --enable-debugger \
        --enable-x86-debugger \
        --enable-long-phy-address \
        --enable-plugins \
        --enable-all-optimizations \
        --enable-disasm \
        --enable-pcidev \
        --enable-usb \
        --disable-docbook \
        --enable-cpp \
        --prefix=/usr
    ## add libaray pthread(is not Linux default libaray), because of missing DSO
    sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile
    make
}

package() {
    cd "${srcdir}/${_pkgrealname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    install -D -m 644 .bochsrc "${pkgdir}/etc/bochsrc-sample.txt"
}



This one, however, i added the --with-wx compiler option

Offline

Board footer

Powered by FluxBB