| View previous topic :: View next topic |
| Author |
Message |
xming Guru


Joined: 02 Jul 2002 Posts: 409
|
Posted: Sun Nov 12, 2006 6:38 pm Post subject: OpenPBX.org |
|
|
To all who are interested in VoIP,
OpenPBX.org is a fork of asterisk 1.2. The main reasons for the fork is get better design/code more easily. You can find more info on the http://www.openpbx.org and http://voip-info.org/wiki/view/OpenPBX.org. And you can also find a ebuild on my home page.
Here are the main items which have been done dince the fork.
* Compiler automatic configuration - GNU Autotools
* Non-root setup
* Remove DB1, replaced with SQLite
* T.38 pass-through and termination
* built-in STUN support for SIP NAT traversal
* universal jitterbuffer
* POSIX timers
* faster and more efficient dialplan using hashing
Happy VoIPing _________________ http://wojia.be |
|
| Back to top |
|
 |
xming Guru


Joined: 02 Jul 2002 Posts: 409
|
Posted: Sun Nov 26, 2006 4:57 pm Post subject: RC2 is out |
|
|
RC2 is out, the digg story, the ebuild and the home page.
In short, the RC2 added generic timers, which mean that now it runs on non Linux platforms too. And thre are a lot of bug fixes. _________________ http://wojia.be |
|
| Back to top |
|
 |
xming Guru


Joined: 02 Jul 2002 Posts: 409
|
Posted: Tue Dec 05, 2006 10:48 am Post subject: uclinux |
|
|
I have played a bit with uclibc and OpenPBX.org, I have made a vmware image for the 1st version.
Have fun _________________ http://wojia.be |
|
| Back to top |
|
 |
mach.82 Tux's lil' helper

Joined: 30 Oct 2003 Posts: 75 Location: 43°N/79°W
|
Posted: Fri Dec 29, 2006 10:30 pm Post subject: Trixbox with OpenPbx |
|
|
Hi, xming,
I am using Asterisk@Home v2.6 with TDM11B hardware at the moment. Can I use Trixbox v2.x and replace Asterisk with OpenPbx?
Thanks! |
|
| Back to top |
|
 |
xming Guru


Joined: 02 Jul 2002 Posts: 409
|
Posted: Tue Jan 09, 2007 1:20 pm Post subject: |
|
|
FreePBX (the GUI of trixbox) is going to support openpbx.org, so this will IMO be possible. Right if you want to do all the dirty works you can try, all the configs are ver similar (some are almost identical), the biggest change will be extensions.conf. The dialplan commands in openpbx.org are case sensitve, here is a script to check your extensions.conf. _________________ http://wojia.be |
|
| Back to top |
|
 |
xming Guru


Joined: 02 Jul 2002 Posts: 409
|
Posted: Tue Jan 09, 2007 1:21 pm Post subject: |
|
|
RC3 is released, here is the ebuild. _________________ http://wojia.be |
|
| Back to top |
|
 |
mach.82 Tux's lil' helper

Joined: 30 Oct 2003 Posts: 75 Location: 43°N/79°W
|
Posted: Wed Jan 10, 2007 2:36 am Post subject: |
|
|
| xming wrote: | | FreePBX (the GUI of trixbox) is going to support openpbx.org, so this will IMO be possible. Right if you want to do all the dirty works you can try, all the configs are ver similar (some are almost identical), the biggest change will be extensions.conf. The dialplan commands in openpbx.org are case sensitve, here is a script to check your extensions.conf. |
I think openPBX will have greater acceptance and a much larger user base if the initial design is compatible with Asterisk otherwise, many A@H or Trixbox users would not have the ability to switch (with myself included) easily. Ideally, an A@H/Trixbox user should be able to uninstall Asterisk, zaptel, etc. and then run a script to replace Asterisk with OpenPBX otherwise, IMHO, OpenPBX will ended up left many users behind and stuck with Asterisk.
The above idea is not new. (1) MS provided a migration path from WordPerfect to MS Word, and (2) OpenOffice 2.x is looking a lot like MS Word these days, etc. |
|
| Back to top |
|
 |
xming Guru


Joined: 02 Jul 2002 Posts: 409
|
Posted: Fri Jan 12, 2007 3:33 pm Post subject: |
|
|
There is a migration path, all configs are almost the same, there are only changes where needed, and something has to be changed. For instance the dialplan is case sensitive is because everything is stored in has tables to speed up the look up (asterisk is doing this as well).
FreePBX is doing a port now, so for the users this will be transparent. If you still have questions, I invite you to join us in #openpbx on freenode. _________________ http://wojia.be |
|
| Back to top |
|
 |
redwood Apprentice

Joined: 27 Jan 2006 Posts: 209
|
Posted: Sat Jan 13, 2007 8:35 pm Post subject: openpbx-1.2_rc3 |
|
|
I've just added the ebuild for openpbx to my /usr/local/portage overlay
and was wondering if there is any conflict between asterisk and openpbx?
I've installed most of the gentoo asterisk* ebuilds and have asterisk running
on my SOHO server. Can I try openpbx.org without uninstalling asterisk?
# emerge -pv openpbx.org
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-libs/libcap-1.10-r9 USE="python" 39 kB
[ebuild U ] media-libs/spandsp-0.0.3_pre27 [0.0.2_pre26] 1,555 kB [1]
[ebuild N ] net-misc/openpbx.org-1.2_rc3 USE="alsa debug oss pri speex -fax -jabber -mgr2 -mysql -odbc -osp -postgres -profile -t38 -zap" 5,557 kB [1]
Total: 3 packages (1 upgrade, 2 new), Size of downloads: 7,150 kB
Portage overlays:
[1] /usr/local/portage
The pretend emerge doesn't say anything about asterisk blocking openpbx.org
I want to be sure that openpbx.org doesn't change my /etc/asterisk/*.conf and /etc/zapata.conf
or mess up /usr/include/asterisk/* or /usr/lib/asterisk/ or /var/lib/asterisk etc.
Thanks. |
|
| Back to top |
|
 |
xming Guru


Joined: 02 Jul 2002 Posts: 409
|
Posted: Sun Jan 14, 2007 8:58 pm Post subject: |
|
|
I haven't implemented any checks to see if asterisk is install. There are no filename nor directory clash. The only things that may have problems are the devices which are created by zaptel, you will have to give asterisk and openpbx permissions to these devices.
This is a listing of the directory structure:
| Code: |
/etc/openpbx.org
/usr/include/openpbx
/usr/lib/openpbx.org
/usr/share/doc/openpbx.org-1.2_rc3
/usr/share/man/man8/
/var/lib/openpbx.org
/var/log/openpbx.org
/var/spool/openpbx.org
|
_________________ http://wojia.be |
|
| Back to top |
|
 |
redwood Apprentice

Joined: 27 Jan 2006 Posts: 209
|
Posted: Mon Jan 15, 2007 3:49 pm Post subject: Thanks |
|
|
Thanks, that's what I needed to know.
Looks like I can install openpbx and then stop asterisk and start openpbx. |
|
| Back to top |
|
 |
redwood Apprentice

Joined: 27 Jan 2006 Posts: 209
|
Posted: Mon Jan 15, 2007 5:40 pm Post subject: ERROR: net-misc/openpbx.org-1.2_rc3 failed |
|
|
I downloaded the openpbx.org-1.2_rc3 ebuild
I needed to make a changed to the ebuild by adding "net-misc/" to the source definition
S=/var/tmp/portage/net-misc/openpbx.org-1.2_rc3/work/openpbx.org-1.2_rc3/
It also needs a dependency on sqlite or it fails with a lot of error messages relating to vdbe.c |
|
| Back to top |
|
 |
xming Guru


Joined: 02 Jul 2002 Posts: 409
|
Posted: Mon Jan 15, 2007 10:24 pm Post subject: Re: ERROR: net-misc/openpbx.org-1.2_rc3 failed |
|
|
| redwood wrote: | I needed to make a changed to the ebuild by adding "net-misc/" to the source definition
S=/var/tmp/portage/net-misc/openpbx.org-1.2_rc3/work/openpbx.org-1.2_rc3/ |
This is strange, category is never in the path IMO, my openpbx is built in
| Code: | | /var/tmp/portage/openpbx.org-1.2_rc3/work/openpbx.org-1.2_rc3 |
| Quote: | | It also needs a dependency on sqlite or it fails with a lot of error messages relating to vdbe.c |
This not needed, sqlite is embedded in openpbx.org. I have machines without sqlite installed.
Where have downloaded the ebuild? From my home page? _________________ http://wojia.be |
|
| Back to top |
|
 |
redwood Apprentice

Joined: 27 Jan 2006 Posts: 209
|
Posted: Tue Jan 16, 2007 5:46 am Post subject: |
|
|
I downloaded http://wojia.be/index.php?q=system/files/openpbx.org-rc3-ebuilds.tar.bz2
(md5sum=2412ce5e984e180fe0e134fea8e24914)
but (I see now) you also had a gzip file at http://www.openpbx.org/releases/openpbx.org-1.2_rc3.tar.gz
I hadn't noticed that one was 1.2_rc3 and the other -rc3.
I simply right clicked and "save link as"
Is the gzip file the latest version?
The bz2 file wouldn't emerge without sqlite3 installed (which was confusing since the openpbx.org
site said sqlite3 was included in the release)
It did seem weird having to add the full package name
since all the other ebuild are always in /var/tmp/portage/${p}/work/ |
|
| Back to top |
|
 |
redwood Apprentice

Joined: 27 Jan 2006 Posts: 209
|
Posted: Tue Jan 16, 2007 6:30 am Post subject: |
|
|
It's late and I see that my last post is confusing gibberish.
One url was for the sources and the other for the ebuild.
I used lynx to download the ebuild and let emerge fetch the source tarball.
If I revert back to the original ebuild and emerge
this is what I get in /var/tmp/portage/net-misc/openpbx.org-1,2_rc3
# ls -F /var/tmp/portage/net-misc/openpbx.org-1.2_rc3/
build-info/ distdir/ homedir/ temp/ work/
with work/ containing the unpacked sources. |
|
| Back to top |
|
 |
redwood Apprentice

Joined: 27 Jan 2006 Posts: 209
|
Posted: Tue Jan 16, 2007 6:41 am Post subject: |
|
|
The newer ebuild syntax apparently doesn't need
the line
S=/var/tmp/portage/net-misc/openpbx.org-1.2_rc3/work/openpbx.org-1.2_rc3/
If I comment out that line entirely, emerge compiles just fine. |
|
| Back to top |
|
 |
xming Guru


Joined: 02 Jul 2002 Posts: 409
|
Posted: Tue Jan 16, 2007 10:34 am Post subject: |
|
|
so it compiles without
| Code: | | S=/var/tmp/portage/net-misc/openpbx.org-1.2_rc3/work/openpbx.org-1.2_rc3/ |
and you don't have to have sqlite?
Thanks for your feedback _________________ http://wojia.be |
|
| Back to top |
|
 |
redwood Apprentice

Joined: 27 Jan 2006 Posts: 209
|
Posted: Tue Jan 16, 2007 2:49 pm Post subject: still needs sqlite3 |
|
|
I have dev-db/sqlite-3.3.6 installed, so
I `emerge -C sqlite` and then re-emerge openpbx.org
But it now fails:
In file included from src/sqliteInt.h:62,
from src/vacuum.c:19:
./parse.h:154:1: warning: "TK_TO_TEXT" redefined
./parse.h:139:1: warning: this is the location of the previous definition
./parse.h:155:1: warning: "TK_TO_BLOB" redefined
./parse.h:140:1: warning: this is the location of the previous definition
./parse.h:156:1: warning: "TK_TO_NUMERIC" redefined
./parse.h:141:1: warning: this is the location of the previous definition
./parse.h:157:1: warning: "TK_TO_INT" redefined
./parse.h:142:1: warning: this is the location of the previous definition
./parse.h:158:1: warning: "TK_TO_REAL" redefined
./parse.h:143:1: warning: this is the location of the previous definition
./parse.h:159:1: warning: "TK_END_OF_FILE" redefined
./parse.h:144:1: warning: this is the location of the previous definition
./parse.h:160:1: warning: "TK_ILLEGAL" redefined
./parse.h:145:1: warning: this is the location of the previous definition
./parse.h:161:1: warning: "TK_SPACE" redefined
./parse.h:146:1: warning: this is the location of the previous definition
./parse.h:162:1: warning: "TK_UNCLOSED_STRING" redefined
./parse.h:147:1: warning: this is the location of the previous definition
./parse.h:163:1: warning: "TK_COMMENT" redefined
./parse.h:148:1: warning: this is the location of the previous definition
./parse.h:164:1: warning: "TK_FUNCTION" redefined
./parse.h:149:1: warning: this is the location of the previous definition
./parse.h:165:1: warning: "TK_COLUMN" redefined
./parse.h:150:1: warning: this is the location of the previous definition
./parse.h:166:1: warning: "TK_AGG_FUNCTION" redefined
./parse.h:151:1: warning: this is the location of the previous definition
./parse.h:167:1: warning: "TK_AGG_COLUMN" redefined
./parse.h:152:1: warning: this is the location of the previous definition
./parse.h:168:1: warning: "TK_CONST_FUNC" redefined
./parse.h:153:1: warning: this is the location of the previous definition
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -DTEMP_STORE=2 -DTHREADSAFE=1 -DSQLITE_OMIT_CURSOR -DNO_TCL -I../sqlite3-embedded -I../sqlite3-embedded -DOS_UNIX -I./src -O2 -march=athlon-xp -pipe -MT libopbxsqlite3_la-vdbeapi.lo -MD -MP -MF ".deps/libopbxsqlite3_la-vdbeapi.Tpo" -c -o libopbxsqlite3_la-vdbeapi.lo `test -f 'src/vdbeapi.c' || echo './'`src/vdbeapi.c; \
then mv -f ".deps/libopbxsqlite3_la-vdbeapi.Tpo" ".deps/libopbxsqlite3_la-vdbeapi.Plo"; else rm -f ".deps/libopbxsqlite3_la-vdbeapi.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -DTEMP_STORE=2 -DTHREADSAFE=1 -DSQLITE_OMIT_CURSOR -DNO_TCL -I../sqlite3-embedded -I../sqlite3-embedded -DOS_UNIX -I./src -O2 -march=athlon-xp -pipe -MT libopbxsqlite3_la-vdbe.lo -MD -MP -MF .deps/libopbxsqlite3_la-vdbe.Tpo -c src/vdbe.c -fPIC -DPIC -o .libs/libopbxsqlite3_la-vdbe.o
In file included from src/sqliteInt.h:62,
from src/vdbe.c:48:
./parse.h:154:1: warning: "TK_TO_TEXT" redefined
./parse.h:139:1: warning: this is the location of the previous definition
./parse.h:155:1: warning: "TK_TO_BLOB" redefined
./parse.h:140:1: warning: this is the location of the previous definition
./parse.h:156:1: warning: "TK_TO_NUMERIC" redefined
./parse.h:141:1: warning: this is the location of the previous definition
./parse.h:157:1: warning: "TK_TO_INT" redefined
./parse.h:142:1: warning: this is the location of the previous definition
./parse.h:158:1: warning: "TK_TO_REAL" redefined
./parse.h:143:1: warning: this is the location of the previous definition
./parse.h:159:1: warning: "TK_END_OF_FILE" redefined
./parse.h:144:1: warning: this is the location of the previous definition
./parse.h:160:1: warning: "TK_ILLEGAL" redefined
./parse.h:145:1: warning: this is the location of the previous definition
./parse.h:161:1: warning: "TK_SPACE" redefined
./parse.h:146:1: warning: this is the location of the previous definition
./parse.h:162:1: warning: "TK_UNCLOSED_STRING" redefined
./parse.h:147:1: warning: this is the location of the previous definition
./parse.h:163:1: warning: "TK_COMMENT" redefined
./parse.h:148:1: warning: this is the location of the previous definition
./parse.h:164:1: warning: "TK_FUNCTION" redefined
./parse.h:149:1: warning: this is the location of the previous definition
./parse.h:165:1: warning: "TK_COLUMN" redefined
./parse.h:150:1: warning: this is the location of the previous definition
./parse.h:166:1: warning: "TK_AGG_FUNCTION" redefined
./parse.h:151:1: warning: this is the location of the previous definition
./parse.h:167:1: warning: "TK_AGG_COLUMN" redefined
./parse.h:152:1: warning: this is the location of the previous definition
./parse.h:168:1: warning: "TK_CONST_FUNC" redefined
./parse.h:153:1: warning: this is the location of the previous definition
src/vdbe.c: In function 'sqlite3VdbeExec':
src/vdbe.c:699: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:759: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:962: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1070: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1071: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1072: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1073: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1074: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1090: error: duplicate case value
src/vdbe.c:1089: error: previously used here
src/vdbe.c:1091: error: duplicate case value
src/vdbe.c:1089: error: previously used here
src/vdbe.c:1092: error: duplicate case value
src/vdbe.c:1089: error: previously used here
src/vdbe.c:1114: error: duplicate case value
src/vdbe.c:1113: error: previously used here
src/vdbe.c:1115: error: duplicate case value
src/vdbe.c:1113: error: previously used here
src/vdbe.c:1116: error: duplicate case value
src/vdbe.c:1113: error: previously used here
src/vdbe.c:1271: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1272: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1273: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1274: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1289: error: duplicate case value
src/vdbe.c:1288: error: previously used here
src/vdbe.c:1290: error: duplicate case value
src/vdbe.c:1288: error: previously used here
src/vdbe.c:1291: error: duplicate case value
src/vdbe.c:1288: error: previously used here
src/vdbe.c:1407: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1427: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1449: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1467: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1485: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1559: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1560: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1561: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1562: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1563: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1564: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1620: error: duplicate case value
src/vdbe.c:1619: error: previously used here
src/vdbe.c:1621: error: duplicate case value
src/vdbe.c:1619: error: previously used here
src/vdbe.c:1622: error: duplicate case value
src/vdbe.c:1619: error: previously used here
src/vdbe.c:1623: error: duplicate case value
src/vdbe.c:1619: error: previously used here
src/vdbe.c:1652: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1653: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1700: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1731: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1747: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1819: error: duplicate case value
src/vdbe.c:682: error: previously used here
src/vdbe.c:1842: error: duplicate case value
src/vdbe.c:682: error: previously used here
make[2]: *** [libopbxsqlite3_la-vdbe.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -DTEMP_STORE=2 -DTHREADSAFE=1 -DSQLITE_OMIT_CURSOR -DNO_TCL -I../sqlite3-embedded -I../sqlite3-embedded -DOS_UNIX -I./src -O2 -march=athlon-xp -pipe -MT libopbxsqlite3_la-vdbeapi.lo -MD -MP -MF .deps/libopbxsqlite3_la-vdbeapi.Tpo -c src/vdbeapi.c -fPIC -DPIC -o .libs/libopbxsqlite3_la-vdbeapi.o
In file included from src/sqliteInt.h:62,
from src/vdbeapi.c:16:
./parse.h:154:1: warning: "TK_TO_TEXT" redefined
./parse.h:139:1: warning: this is the location of the previous definition
./parse.h:155:1: warning: "TK_TO_BLOB" redefined
./parse.h:140:1: warning: this is the location of the previous definition
./parse.h:156:1: warning: "TK_TO_NUMERIC" redefined
./parse.h:141:1: warning: this is the location of the previous definition
./parse.h:157:1: warning: "TK_TO_INT" redefined
./parse.h:142:1: warning: this is the location of the previous definition
./parse.h:158:1: warning: "TK_TO_REAL" redefined
./parse.h:143:1: warning: this is the location of the previous definition
./parse.h:159:1: warning: "TK_END_OF_FILE" redefined
./parse.h:144:1: warning: this is the location of the previous definition
./parse.h:160:1: warning: "TK_ILLEGAL" redefined
./parse.h:145:1: warning: this is the location of the previous definition
./parse.h:161:1: warning: "TK_SPACE" redefined
./parse.h:146:1: warning: this is the location of the previous definition
./parse.h:162:1: warning: "TK_UNCLOSED_STRING" redefined
./parse.h:147:1: warning: this is the location of the previous definition
./parse.h:163:1: warning: "TK_COMMENT" redefined
./parse.h:148:1: warning: this is the location of the previous definition
./parse.h:164:1: warning: "TK_FUNCTION" redefined
./parse.h:149:1: warning: this is the location of the previous definition
./parse.h:165:1: warning: "TK_COLUMN" redefined
./parse.h:150:1: warning: this is the location of the previous definition
./parse.h:166:1: warning: "TK_AGG_FUNCTION" redefined
./parse.h:151:1: warning: this is the location of the previous definition
./parse.h:167:1: warning: "TK_AGG_COLUMN" redefined
./parse.h:152:1: warning: this is the location of the previous definition
./parse.h:168:1: warning: "TK_CONST_FUNC" redefined
./parse.h:153:1: warning: this is the location of the previous definition
make[2]: Leaving directory `/var/tmp/portage/net-misc/openpbx.org-1.2_rc3/work/openpbx.org-1.2_rc3/sqlite3-embedded'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-misc/openpbx.org-1.2_rc3/work/openpbx.org-1.2_rc3/sqlite3-embedded'
make: *** [all-recursive] Error 1
!!! ERROR: net-misc/openpbx.org-1.2_rc3 failed.
Call stack:
ebuild.sh, line 1610: Called dyn_compile
ebuild.sh, line 970: Called qa_call 'src_compile'
environment, line 2916: Called src_compile
openpbx.org-1.2_rc3.ebuild, line 78: Called die
!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/portage'
So now I `emerge sqlite; emerge openpbx.org` and everything emerges just fine:
# epm -ql sqlite
/usr/lib/libsqlite3.so.0.8.6
/usr/lib/libsqlite3.so.0
/usr/lib/libsqlite3.so
/usr/lib/libsqlite3.la
/usr/lib/libsqlite3.a
/usr/lib/pkgconfig/sqlite3.pc
/usr/bin/sqlite3
/usr/bin/lemon-3
/usr/include/sqlite3.h
/usr/share/doc/sqlite-3.3.6/README.gz
/usr/share/doc/sqlite-3.3.6/VERSION.gz
/usr/share/man/man1/sqlite3.1.gz
# epm -ql openpbx.org|grep sql
/usr/lib/openpbx.org/libopbxsqlite3.so.0.8.6
/usr/lib/openpbx.org/libopbxsqlite3.so.0
/usr/lib/openpbx.org/libopbxsqlite3.so
/usr/lib/openpbx.org/libopbxsqlite3.la
/usr/lib/openpbx.org/modules/cdr_sqlite3.so
/usr/lib/openpbx.org/modules/cdr_sqlite3.la |
|
| Back to top |
|
 |
redwood Apprentice

Joined: 27 Jan 2006 Posts: 209
|
Posted: Tue Jan 16, 2007 3:32 pm Post subject: |
|
|
I don't have time to look into this right now, but I see
that the Makefile generates parse.h as well as other header files
so probably the error lies in the Makefile.
This is my `emerge --info`:
# emerge --info
Portage 2.1.2_rc4-r8 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r4 i686)
=================================================================
System uname: 2.6.18-gentoo-r4 i686 AMD Athlon(TM) XP 2800+
Gentoo Base System version 1.12.8
Last Sync: Mon, 15 Jan 2007 11:00:01 +0000
ccache version 2.4 [enabled]
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks loadpolicy metadata-transfer parallel-fetch sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://deeds.acjlaw.net/gentoo-portage"
USE="7z 7zip X alsa apache2 arts asterisk audiofile bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt cups debug dlloader dri encode esd fortran gdbm gpm gtk h323 iconv ipv6 isdnlog lame libg++ mad mmx mp3 mp3rtp mp4 mp4live mpeg mpeg2 mplayer nas ncurses nls nptl nptlonly ogg oss pam pcre perl ppds pppd pri python readline reflection session speex spl ssl szip tcpd truetype-fonts type1-fonts udev unicode vorbis wma x264 x86 xorg zaptel zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS |
|
| Back to top |
|
 |
xming Guru


Joined: 02 Jul 2002 Posts: 409
|
Posted: Sat Jan 27, 2007 2:13 pm Post subject: |
|
|
redwood, have you sorted out the problem? Does anyone else is using the ebuild? _________________ http://wojia.be |
|
| Back to top |
|
 |
r00t440 Tux's lil' helper

Joined: 14 Sep 2005 Posts: 83
|
Posted: Mon Feb 05, 2007 7:40 am Post subject: |
|
|
| Does openpbx.org work on amd64? |
|
| Back to top |
|
 |
r00t440 Tux's lil' helper

Joined: 14 Sep 2005 Posts: 83
|
Posted: Mon Feb 05, 2007 7:56 am Post subject: |
|
|
looks like the ebuild is broken
| Code: | !!! ERROR: net-misc/openpbx.org-1.2_rc3 failed.
Call stack:
ebuild.sh, line 1593: Called dyn_compile
ebuild.sh, line 951: Called src_compile
openpbx.org-1.2_rc3.ebuild, line 48: Called econf '--libdir=/usr/lib' '--datadir=/var/lib' '--localstatedir=/var' '--sharedstatedir=/var/lib/openpbx.org' '--with-directory-layout=lsb' '--with-codec_speex' '--without-res_jabber' '--without-cdr_pgsql' '--without-res_config_pgsql' '--without-res_odbc' '--without-res_config_odbc' '--without-cdr_odbc' '--with-res_mysql' '--with-res_config_mysql' '--with-cdr_mysql' '--without-chan_zap' '--without-chan_unicall' '--without-chan_fax' '--without-app_rxfax' '--without-app_txfax' '--without-app_rxfax' '--without-app_txfax' '--disable-debug' '--enable-mysql' '--disable-postgresql' '--disable-profile' '--disable-t38'
ebuild.sh, line 560: Called die
!!! no configure script found
!!! If you need support, post the topmost build error, and the call stack if relevant. |
|
|
| Back to top |
|
 |
r00t440 Tux's lil' helper

Joined: 14 Sep 2005 Posts: 83
|
Posted: Mon Feb 05, 2007 8:58 am Post subject: |
|
|
When compiling manually, openpbx compiles just fine. But, with the ebuild you have to uncomment the following in order for openpbx.org to compile:
| Code: | | S=/var/tmp/portage/openpbx.org-1.2_rc3/work/openpbx.org-1.2_rc3/ |
But even if I get openpbx to compile, the following error will occur:
| Code: | make[1]: Entering directory `/var/tmp/portage/net-misc/openpbx.org-1.2_rc3/work/openpbx.org-1.2_rc3/sqlite3-embedded'
/bin/sed -e s/--VERS--/3.3.8/ ./src/sqlite.h.in | \
/bin/sed -e s/--VERSION-NUMBER--/3003008/ > sqlite3.h
cp ./src/parse.y .
x86_64-pc-linux-gnu-gcc -o lemon tool/lemon.c
x86_64-pc-linux-gnu-gcc -o mkkeywordhash tool/mkkeywordhash.c
./mkkeywordhash > keywordhash.h
cp ./tool/lempar.c .
cp ./tool/lempar.c .
cp: cannot create regular file `./lempar.c': File exists
cp ./src/parse.y .
make[1]: *** [parse.c] Error 1
make[1]: *** Waiting for unfinished jobs....
./lemon parse.y
mv parse.h parse.h.temp
awk -f addopcodes.awk parse.h.temp >parse.h
make[1]: Leaving directory `/var/tmp/portage/net-misc/openpbx.org-1.2_rc3/work/openpbx.org-1.2_rc3/sqlite3-embedded'
make: *** [all-recursive] Error 1
!!! ERROR: net-misc/openpbx.org-1.2_rc3 failed.
Call stack:
ebuild.sh, line 1593: Called dyn_compile
ebuild.sh, line 951: Called src_compile
openpbx.org-1.2_rc3.ebuild, line 78: Called die
!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/portage' |
|
|
| Back to top |
|
 |
xming Guru


Joined: 02 Jul 2002 Posts: 409
|
Posted: Mon Feb 05, 2007 9:26 pm Post subject: |
|
|
Yes, openpbx.org work with AMD64. And for your emerge problem, openpbx.org does not like parallel make, so I need to to filter that out. For the time being you need to set MAKEOPTS=-j1. _________________ http://wojia.be |
|
| Back to top |
|
 |
r00t440 Tux's lil' helper

Joined: 14 Sep 2005 Posts: 83
|
Posted: Tue Feb 06, 2007 1:14 am Post subject: |
|
|
| Thanks, I'll try that. I'll post my findings here and all bugs/errors i've encountered. |
|
| Back to top |
|
 |
|