paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] compilation with archlinux


From: freak
Subject: [Paparazzi-devel] compilation with archlinux
Date: Wed, 18 Mar 2015 16:17:57 -0700 (MST)

hello


i try to compile paparazzi but i have an error with make

GENERATE /home/xxxxx/paparazzi/paparazzi/var/include/messages.h
Fatal error: cannot load shared library dllglibivy-ocaml
Reason: dllglibivy-ocaml.so: cannot open shared object file: No such file or
directory
Makefile:181 : la recette pour la cible
« /home/xxxx/paparazzi/paparazzi/var/include/messages.h » a échouée
make: *** [/home/xxxxx/paparazzi/paparazzi/var/include/messages.h] Erreur 2


the file is in this path : /usr/lib/ocaml/glibivy/dllglibivy-ocaml.so




i modified this file :
nano ./sw/lib/ocaml/http.ml

replacing
open Http_client
with
open Nethttp_client

i compiled labelgtk in 2.16 version

sudo pacman -Syu ocaml-xml-light ocamlnet lablgtk2-2.16.0  pkg-config
ivy-c-svn ivy-ocaml-svn
mkdir paparazzi
cd paparazzi
git clone https://github.com/paparazzi/paparazzi.git
cd paparazzi/
git checkout v5.4
git checkout master
make


here are my PKGBUILD files for ivy-c and ivy-ocaml

[code]pkgname=ivy-ocaml-svn
pkgver=0
pkgrel=1
pkgdesc="ivy-ocaml Library"
arch=('i686' 'x86_64')
url="http://www.eei.cena.fr/products/ivy/download/source.html";
license=('GPL3')
depends=('tcl' 'tk' 'ivy-c-svn' 'ocaml-findlib')
makedepends=('cmake' 'subversion')
source=()

_DESTDIR=$(ocamlfind printconf destdir)
_LDCONF=$(ocamlfind printconf ldconf)

_svntrunk='https://svn.tls.cena.fr/svn/ivy/ivy-ocaml/trunk'

prepare() {
  cd "${srcdir}"

  svn co $_svntrunk
  cd "${srcdir}/trunk"

   sed \
      -e "s|ocamlfind remove|ocamlfind remove -destdir $pkgdir/$_DESTDIR
-ldconf $pkgdir$_LDCONF|g" \
      -e "s|ocamlfind install|ocamlfind install -destdir $pkgdir/$_DESTDIR
-ldconf $pkgdir$_LDCONF|g" \
      -i Makefile
    
}

build() {
  cd "${srcdir}/trunk"
  make -j1
}

package() {
   mkdir -p $pkgdir$_DESTDIR
   touch $pkgdir$_DESTDIR/ld.conf

  cd "${srcdir}/trunk"
  make DESTDIR="${pkgdir}/usr" install
  
  rm $pkgdir$_DESTDIR/ld.conf
}[/code]

ivy-c-svn

[code]pkgname=ivy-c-svn
pkgver=3.9.2
pkgrel=1
pkgdesc="ivy-c Library"
arch=('i686' 'x86_64')
url="http://www.eei.cena.fr/products/ivy/download/source.html";
license=('GPL3')
depends=('tcl')
conflicts=('ivy-svn')
makedepends=('cmake')

_svntrunk='https://svn.tls.cena.fr/svn/ivy/ivy-c/trunk'


prepare() {


        cd "${srcdir}"

        svn co $_svntrunk
        cd "${srcdir}/trunk/src"

        sed -i 's|lib$(PERHAPS64)|lib|' Makefile
        sed -i 's|mkdirhier|mkdir -p|g' Makefile

}

build() {

        cd "${srcdir}/trunk/src"
  make PREFIX="/usr/include/Ivy/"
}

package() {
  cd "${srcdir}/trunk/src"
  make PREFIX="/usr" DESTDIR="${pkgdir}" install
}
[/code]




--
View this message in context: 
http://lists.paparazziuav.org/compilation-with-archlinux-tp16887.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]