* [devel] Сборка пакетов с помощью rebar
@ 2012-07-04 16:44 Viacheslav Dubrovskyi
2012-07-04 16:51 ` Led
2012-07-04 16:54 ` Viacheslav Dubrovskyi
0 siblings, 2 replies; 11+ messages in thread
From: Viacheslav Dubrovskyi @ 2012-07-04 16:44 UTC (permalink / raw)
To: Devel
[-- Attachment #1: Type: text/plain, Size: 832 bytes --]
Здравствуйте.
Есть пакет (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?
Заранее спасибо.
--
WBR,
Viacheslav Dubrovskyi
[-- Attachment #2: ÐÑипÑогÑаÑиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4931 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] Сборка пакетов с помощью rebar
2012-07-04 16:44 [devel] Сборка пакетов с помощью rebar Viacheslav Dubrovskyi
@ 2012-07-04 16:51 ` Led
2012-07-04 16:54 ` Viacheslav Dubrovskyi
1 sibling, 0 replies; 11+ messages in thread
From: Led @ 2012-07-04 16:51 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Wednesday 04 July 2012 19:44:32 Viacheslav Dubrovskyi wrote:
> Здравствуйте.
>
> Есть пакет (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?
>
> Заранее спасибо.
Убрать секцию "{deps, ...} из rebar.config
--
Led
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] Сборка пакетов с помощью rebar
2012-07-04 16:44 [devel] Сборка пакетов с помощью rebar Viacheslav Dubrovskyi
2012-07-04 16:51 ` Led
@ 2012-07-04 16:54 ` Viacheslav Dubrovskyi
2012-07-04 16:57 ` led
2012-07-04 16:59 ` led
1 sibling, 2 replies; 11+ messages in thread
From: Viacheslav Dubrovskyi @ 2012-07-04 16:54 UTC (permalink / raw)
To: ALT Linux Team development discussions
[-- Attachment #1: Type: text/plain, Size: 818 bytes --]
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
Вопрос: как-то дистрибутивно это предусмотренно? Может макросы какие-то
есть?
--
WBR,
Viacheslav Dubrovskyi
[-- Attachment #2: ÐÑипÑогÑаÑиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4931 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] Сборка пакетов с помощью rebar
2012-07-04 16:54 ` Viacheslav Dubrovskyi
@ 2012-07-04 16:57 ` led
2012-07-04 16:59 ` led
1 sibling, 0 replies; 11+ messages in thread
From: led @ 2012-07-04 16:57 UTC (permalink / raw)
To: ALT Linux Team development discussions
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] Сборка пакетов с помощью rebar
2012-07-04 16:54 ` Viacheslav Dubrovskyi
2012-07-04 16:57 ` led
@ 2012-07-04 16:59 ` led
2012-07-04 17:13 ` Viacheslav Dubrovskyi
1 sibling, 1 reply; 11+ messages in thread
From: led @ 2012-07-04 16:59 UTC (permalink / raw)
To: ALT Linux Team development discussions
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
>
> Вопрос: как-то дистрибутивно это предусмотренно? Может макросы какие-то
> есть?
%_otplibdir - rpm-macros-erlang, rpm-build-erlang
--
Led
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] Сборка пакетов с помощью rebar
2012-07-04 16:59 ` led
@ 2012-07-04 17:13 ` Viacheslav Dubrovskyi
2012-07-04 17:19 ` led
2012-07-04 17:26 ` led
0 siblings, 2 replies; 11+ messages in thread
From: Viacheslav Dubrovskyi @ 2012-07-04 17:13 UTC (permalink / raw)
To: ALT Linux Team development discussions
[-- Attachment #1: Type: text/plain, Size: 388 bytes --]
04.07.2012 19:59, led@altlinux.ru написал:
> Как rebar указать смотреть в /usr/lib/erlang?
>> Сам себе и отвечаю: Нужно запускать так:
>> rebar deps_dir=/usr/lib/erlang/lib compile
>>
>> Вопрос: как-то дистрибутивно это предусмотренно? Может макросы какие-то
>> есть?
> %_otplibdir - rpm-macros-erlang, rpm-build-erlang
Хотелось бы какого-то %rebar_build
--
WBR,
Viacheslav Dubrovskyi
[-- Attachment #2: ÐÑипÑогÑаÑиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4931 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] Сборка пакетов с помощью rebar
2012-07-04 17:13 ` Viacheslav Dubrovskyi
@ 2012-07-04 17:19 ` led
2012-07-04 17:25 ` Viacheslav Dubrovskyi
2012-07-04 17:26 ` led
1 sibling, 1 reply; 11+ messages in thread
From: led @ 2012-07-04 17:19 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Wednesday 04 July 2012 20:13:24 Viacheslav Dubrovskyi wrote:
> 04.07.2012 19:59, led@altlinux.ru написал:
> > Как rebar указать смотреть в /usr/lib/erlang?
> >
> >> Сам себе и отвечаю: Нужно запускать так:
> >> rebar deps_dir=/usr/lib/erlang/lib compile
> >>
> >> Вопрос: как-то дистрибутивно это предусмотренно? Может макросы какие-то
> >> есть?
> >
> > %_otplibdir - rpm-macros-erlang, rpm-build-erlang
>
> Хотелось бы какого-то %rebar_build
Зачем?
rebar -j%__nprocs -v compile
--
Led
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [devel] Сборка пакетов с помощью rebar
2012-07-04 17:13 ` Viacheslav Dubrovskyi
2012-07-04 17:19 ` led
@ 2012-07-04 17:26 ` led
1 sibling, 0 replies; 11+ messages in thread
From: led @ 2012-07-04 17:26 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Wednesday 04 July 2012 20:13:24 Viacheslav Dubrovskyi wrote:
> 04.07.2012 19:59, led@altlinux.ru написал:
> > Как rebar указать смотреть в /usr/lib/erlang?
> >
> >> Сам себе и отвечаю: Нужно запускать так:
> >> rebar deps_dir=/usr/lib/erlang/lib compile
> >>
> >> Вопрос: как-то дистрибутивно это предусмотренно? Может макросы какие-то
> >> есть?
> >
> > %_otplibdir - rpm-macros-erlang, rpm-build-erlang
>
> Хотелось бы какого-то %rebar_build
Можно:
%define _make_bin rebar -v
и дальше пользовать обычный %make_build
--
Led
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-07-04 17:43 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-04 16:44 [devel] Сборка пакетов с помощью rebar Viacheslav Dubrovskyi
2012-07-04 16:51 ` Led
2012-07-04 16:54 ` Viacheslav Dubrovskyi
2012-07-04 16:57 ` led
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
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