On Mon, 30 Jan 2012, Douglas Hubler wrote:
earlier:
>> [on CentoS 5] I'm on step 7 of
http://wiki.sipfoundry.org/display/sipXecs/Building+RPMS+on+CentOS+or+Fedora
I would add:
at a minimum, a
cd ..
is missing between step 4 and step 7.
On centos 6, updated to current:
[herrold@sipxecs-builder ~]$ cd sipxecs/
[herrold@sipxecs-builder sipxecs]$ make
distro.centos-5-x86_64.repo-chroot-init
make: *** No rule to make target
`distro.centos-5-x86_64.repo-chroot-init'. Stop.
[herrold@sipxecs-builder sipxecs]$ pwd
/home/herrold/sipxecs
[herrold@sipxecs-builder sipxecs]$ ls
sipxecs step4.sh
[herrold@sipxecs-builder sipxecs]$ cd sipxecs/
[herrold@sipxecs-builder sipxecs]$ make
distro.centos-5-x86_64.repo-chroot-init
make: *** No rule to make target
`distro.centos-5-x86_64.repo-chroot-init'. Stop.
[herrold@sipxecs-builder sipxecs]$ pwd
/home/herrold/sipxecs/sipxecs
[herrold@sipxecs-builder sipxecs]$ cat /etc/redhat-release
CentOS release 6.2 (Final)
[herrold@sipxecs-builder sipxecs]$
> If you type
>
> make
>
> You'll get help screen and somewhere in there is the supported
> distributions. CentOS 5 will not be supported by master branch
> (sipxecs 4.6) which is what you're probably building. You can only
> build for CentOS 6.
This works up a directory from ./build/ directory where step 4
left us
[herrold@sipxecs-builder sipxecs]$ make
COMMON TARGETS
===================
*{1|2}*... - Perform all targets would normally follow the given target
in addition to the target itself. Very useful when you want
to pick-up the build where it last stopped. For example
'make sipXthree...' would expand to 'make sipXthree sipXfour
sipXfive' but it would not include 'make sipXone sipXtwo'.
You can use the ... pattern anywhere you a specify a package
name. Examples: 'make sipXconfig.rpm...', 'make
distro.centos-5-i386.OpenACD.rpm...'. See 'make sipx.list
lib.list' for what the natural order of packages.
app - Build all sipx apps including targets autoreconf, configure,
all and install targets
sipx - Build all sipx components including targets autoreconf,
configure, all and install targets
{1|2|6}.autoreconf - Run autoreconf on each project
{1|2|6}.configure - Run configure on each project
{1|2|6}.dist - Build archive, typically compressed tar
{1|2}.deps-build-list - List all dependencies to build package(s).
{1|2}.deps-list - List all dependencies to run a package(s).
{1|2}.deps-missing - List all dependencies to run a package(s) that are not
currently installed on this system.
{1|2}.deps-missing-build-list - List all dependencies to build a package(s)
that are not
currently installed on this system.
{1|6}.all-install - Run 'make all install' in each target
{1}.all - Run make all on each project
{1}.check - Run make check on each project
{1}.clean - Run make clean on each project
{1}.dist - Run make dist on each project
{1}.install - Run make install on each project
{sipx,lib}.list - list all sipx components
ALLOWED VALUES
===================
{1} - Any sipXecs package. For all sipXecs packages use 'sipx'.
Complete list of sipXecs packages : sipXportLib sipXtackLib
sipXmediaLib sipXmediaAdapterLib sipXcallLib sipXsupervisor
sipXcommserverLib sipXsnmp sipXpostgres sipXmongo
sipXcommons sipXrelay sipXbridge sipXfreeSwitch sipXcdr
sipXacdStatistics sipXconfig sipXopenfire sipXcounterpath
sipXaudiocodes sipXprompts sipXivr sipXproxy sipXpublisher
sipXregistry sipXpolycom
{2} - Any dependency package. For all dependencies use 'lib'.
Complete list of dependencies :
{6} - Any sipXecs application. For all app use 'app'. Complete
list of app : sipXacd sipXacccode sipXaastra sipXrest
sipXcallController sipXcdrLog sipXtools sipXpark
sipXpresence sipXrls sipXimbot sipXtunnel sipXpage
sipXprovision sipXrecording sipXsaa sipXopenacd
sipXpreflight sipXviewer sipXcisco sipXclearone sipXgtek
sipXhitachi sipXipdialog sipXisphone sipXnortel
sipXlg-nortel sipXmitel sipXsnom sipXunidata sipXgrandstream
sipXexample sipXphonelog sipXlang-abitibi-fr_CA sipXlang-ch
sipXlang-cs sipXlang-de sipXlang-en_GB sipXlang-es
sipXlang-fr_CA sipXlang-fr sipXlang-it sipXlang-ja
sipXlang-es_MX sipXlang-nl sipXlang-pl sipXlang-pt_BR
sipXlang-zh sipXcustomCallerId sipXkarel
SPECIAL VARIABLES
===================
DISTRO - To run a command for a different target distro. Default:
centos-5-x86_64. Complete list of available
values:
fedora-14-i386 fedora-14-x86_64 fedora-15-i386
fedora-15-x86_64 fedora-16-i386 fedora-16-x86_64
centos-6-i386 centos-6-x86_64
[herrold@sipxecs-builder sipxecs]$ pwd
/home/herrold/sipxecs/sipxecs
back to new editorial content:
I've been working from the top to the bottom of that wiki
outline doing minor edits, and got stuck, at step 7 where the
prior poster got struck
I am thinking that adding some diagnostic suggestions in a new
first paragraph, and updating the example to the CentOS 6form
in step 7 as I noted above is the next thing to do, but would
appreciate suggestions as to the wordsmithing
-- Russ herrold
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/