Comments (21)
Asterisk is in the latest builds as "asterisk13", you'll need that as a core.git dependency.
It should: error out when the dependency was not found because it was not build and there should be something in the ports build log too. Please check there first. :)
from tools.
So I added net/asterisk13 to ports.conf in tools/config/16.7/ and 'asterisk13 ' to core/Makefile, where is this ports build log located and one more question, I already built opnsense once, do I have to rebuild the whole thing or can I just build the new one with asterisk on the side, is it done with make ports-asterisk13 ?
EDIT : Thanks for all the swift reply :)
from tools.
Yes, it needs to be rebuilt. Let's assume you're on the latest tools.git, then you run:
# make ports-asterisk13 core
The build logs are the output of the respective make commands, nothing fancy, but it might be good to look at them or store them for later...
from tools.
Oh cool, I've started make ports-asterisk13 core
, I'll tell you how it goes asap :)
from tools.
Could not find package: asterisk13
*** Error code 1
That's what I get when I do make ports-asterisk13 core
, what should I do to fix it?
from tools.
Are you on i386?
from tools.
Yes, since my target is also i386..
from tools.
:D
You must edit config/16.7/ports.conf, and remove i386 from the asterisk entry
from tools.
That's the weird part it's already just net/asterisk13
from tools.
It should be in there twice unless edited out? Maybe it's not using the right config, the current config directory is "16.7" by default. It's likely a simple error, but hard to say where unless looking at your code.
from tools.
I've edited it a couple of times, I'll checkout tools again and try from scratch..lets see if that works
EDIT : The latest tools/config/16.7/ports.conf contains only one instance of asterisk13, Sorry I closed the issue by mistake lol
from tools.
Here is the log link
from tools.
net-snmp configure is broken on FreeBSD 10.x with the src.conf options we have. You need to remove the SNMP option in order to build it successfully. That's why it was disabled in our i386 builds...
checking size of short... Segmentation fault (core dumped)
configure: error: in `/usr/obj/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.3':
configure: error: cannot compute sizeof (short)
See `config.log' for more details
===> Script "configure" failed unexpectedly.
Please report the problem to [email protected] [maintainer] and attach the
"/usr/obj/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.3/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/net-mgmt/net-snmp
*** Error code 1
from tools.
There are 2 snmp instances in core/Makefile, that is 'bsnmp-regex ' and 'bsnmp-ucd ', 'net-mgmt/bsnmp-regex' and 'net-mgmt/bsnmp-ucd' is in tools/config/16.7/ports.conf
But this package is not related to asterisk is it? then why isn't asterisk13 not found while building the core?
from tools.
https://github.com/opnsense/ports/blob/master/net/asterisk13/Makefile#L181-L182
from tools.
Hahahah I feel so dumb, so I'll try removing that and building again..:D
from tools.
OK, let me know how that goes :)
from tools.
Here is the log Link, I completed the make ports-asterisk13 core
and then ran make cdrom
after that I ran the iso on a vm and got to the shell and tried to run asterisk, it gave me Shared Object "libxslt.so.1" not found, required by "asterisk", so the building of asterisk along with OPNSense works except the dependencies..I guess, what do you think?
EDIT : I cleaned everything kept it for build again, guess what? It's working pefectly! :D
Thanks a lot @fichtner !
from tools.
@Fazelesswhite this shouldn't be happening and I could reproduce this on amd64 with a stock 16.7.1 install, I've applied a bandaid, will see how we can fix that in FreeBSD
from tools.
Thats funny, I built it without the bandaid yesterday and asterisk13 is working fine..
from tools.
From the ports framework it can run fine when it was a ports-asterisk13 rebuild... The trouble is in the normal full ports build libxslt gets built by something else, and this is picked up by asterisk13 on the side. Nice catch!
from tools.
Related Issues (20)
- Block Control C on booting HOT 1
- Ads security/xray-core to ports and pkgs. HOT 3
- Add sysutils/podman-suite HOT 2
- Add emulators/qemu-devel or emulators/qemu HOT 7
- build: providing plugins and packages as files on images to bootstrap e.g. realtek 2.5G cards
- opnsense "cloud" images possible now? HOT 1
- OpenSSL 3 ports migration HOT 8
- sslscan Fast SSL port scanner
- Add HAProxy 2.8 [only for 24.1]
- Feature request: add freeswitch into the repo
- Captive Portal Customize Vouchers System HOT 1
- Add sysutils/bastille HOT 1
- base: generating obsolete file for file to directory transition HOT 1
- Installed pkg version '1.20' does not match required version '1.19' HOT 20
- No plug-ins while building R4S HOT 3
- Creating NANO image for ARM fails HOT 3
- OFED disabled in src.conf HOT 4
- WITH_OFED_EXTRA also disabled HOT 8
- OFED kernel modules - whether to enable or revert all OFED-related HOT 6
- Add tools for updating intel network cards firmware
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tools.