-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding additional port #38
Comments
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. :) |
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 ? |
Yes, it needs to be rebuilt. Let's assume you're on the latest tools.git, then you run:
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... |
Oh cool, I've started |
Could not find package: asterisk13 That's what I get when I do |
Are you on i386? |
Yes, since my target is also i386.. |
:D You must edit config/16.7/ports.conf, and remove i386 from the asterisk entry |
That's the weird part it's already just |
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. |
I've edited it a couple of times, I'll checkout tools again and try from scratch..lets see if that works |
Here is the log link |
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...
|
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 |
Hahahah I feel so dumb, so I'll try removing that and building again..:D |
OK, let me know how that goes :) |
Here is the log Link, I completed the EDIT : I cleaned everything kept it for build again, guess what? It's working pefectly! :D |
@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 |
Thats funny, I built it without the bandaid yesterday and asterisk13 is working fine.. |
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! |
Hey guys, I wanted to try building the asterisk port whilst building, as you guys said in another post I added asterisk to ports.conf in tools.git and added 'asterisk /' to core/Makefile, but when I try to run asterisk after building, it doesn't seem to contain asterisk..what am I doing wrong here? How do I install ports I need extra during the build?
The text was updated successfully, but these errors were encountered: