ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: led@altlinux.ru
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Сборка пакетов с помощью rebar
Date: Wed, 4 Jul 2012 19:57:04 +0300
Message-ID: <201207041957.04638.led@altlinux.ru> (raw)
In-Reply-To: <4FF4755D.8040400@tangramltd.com>

On Wednesday 04 July 2012 19:54:53 Viacheslav Dubrovskyi wrote:
> 04.07.2012 19:44, Viacheslav Dubrovskyi написал:
> > Здравствуйте.
> >
> > Есть пакет (https://github.com/OpenACD/OpenACD) который хочу упаковать.
> > Для него нужно упаковать кучку пакетиков по зависимостям.
> > Например я собрал пакет и поместил ebin и include соответственно в
> > /usr/lib/erlang/proper-1.0/.  Получилось
> > /usr/lib/erlang/proper-1.0/ebin/proper.app .
> > И собираю следующий через rebar -v compile  и второй не находит первого,
> > жалуясь: Expected /usr/src/RPM/BUILD/erlang_protobuffs-0.0.1/deps/proper
> > to be an app dir (containing ebin/*.app), but no .app found
> >
> > Как rebar указать смотреть в /usr/lib/erlang?
>
> Сам себе и отвечаю: Нужно запускать так:
> rebar deps_dir=/usr/lib/erlang/lib compile
>
> Вопрос: как-то дистрибутивно это предусмотренно?

Да. Убрать секцию {deps, ...} из rebar.config

> Может макросы какие-то 
> есть?


-- 
Led

  reply	other threads:[~2012-07-04 16:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-04 16:44 Viacheslav Dubrovskyi
2012-07-04 16:51 ` Led
2012-07-04 16:54 ` Viacheslav Dubrovskyi
2012-07-04 16:57   ` led [this message]
2012-07-04 16:59   ` led
2012-07-04 17:13     ` Viacheslav Dubrovskyi
2012-07-04 17:19       ` led
2012-07-04 17:25         ` Viacheslav Dubrovskyi
2012-07-04 17:34           ` led
2012-07-04 17:43             ` Viacheslav Dubrovskyi
2012-07-04 17:26       ` led

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201207041957.04638.led@altlinux.ru \
    --to=led@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git