Re: [pfSense Support] How to build a Developer ISO

2011-01-31 Thread Jim Pingle
On 1/30/2011 11:29 PM, Mark Jones wrote:
 Well, I'm pretty close to admitting defeat.  I've followed the guidance given 
 @
 
 http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso
 
 I've used FreeBSD 8, 7.2 and 7.1, and in all cases am unable to build a 
 developer ISO.  I've built portmaster and attempted to use it to build the 
 development ISO.
 
 I think a large part of the problems I'm having have to do with the FreeBSD 
 idea that you should build all these packages on every machine instead of 
 having prebuilt binaries you can install, and then those ports aren't in 
 sync with each other so that package A wants B, C and D, but B and D are 
 mutually exclusive on package E.
 
 For example:  you need seemingly pecl-APC to build a developer ISO yet pecl 
 APC won't be built if you have PHP4 and if you replace PHP4 with PHP5 then 
 other parts won't build because they are looking for PHP4 stuff.
 
 So, long story short, WHERE can I find a prebuilt Developer ISO, or barring 
 that how do I actually manage to build a developer ISO that compiles and 
 links so that I can actually produce the ISO?
 
 Oh, and my favorite error (after the several hundred compiler issues of 
 missing header files and redefined values is the one at the end of the build:
 
 .: Can't open ./builder_common.sh: No such file or directory
 
 Sorry if my tone seems a bit acerbic, but more than 3 days wasted trying to 
 get code to build has frazzled my nerves.

The actual Developer ISO is no longer supported. You can build a
normal ISO fine, though. I setup builders frequently and lately it's
been smooth, at least for a 2.0 builder on FreeBSD 8.1.

I haven't seen that builder_common.sh error, but that file does exist in
the builder_scripts/ directory under the tools repo, where most of the
work is done.

Some hints:
1. Do this in an isolated VM or server - don't try to re-use a box
you've got doing other things.
2. Start with a clean install of FreeBSD 8.1 (no ports installed!),
update your base OS to RELENG_8_1 with csup
3. Update the ports tree (portsnap fetch extract) before doing anything
else. It's mentioned on the instructions but worth repeating.
4. All commands are run from /home/pfsense/tools/builder_scripts
5. Follow the directions on the page, but optionally skip the menu and
just use ./set_version.sh instead.
6. Run ./update_git_repos.sh between build attempts, to make sure you
have the latest version of the code checked out.

That said, the build_iso.sh that produces an ISO image will give you a
normal ISO, not a developer ISO. I'm not sure anyone has tried a dev iso
in ages. We stopped the automated builds of them long ago, as we all
just use FreeBSD VMs/jails to build things and then move them onto the
firewall.

Jim

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] How to build a Developer ISO

2011-01-31 Thread ey
 On 1/30/2011 11:29 PM, Mark Jones wrote:
 Well, I'm pretty close to admitting defeat.  I've followed the guidance
 given @

 http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso

 I've used FreeBSD 8, 7.2 and 7.1, and in all cases am unable to build a
 developer ISO.  I've built portmaster and attempted to use it to build
 the development ISO.
Couple years ago I've managed to build 7.1 or 7.2 (do not remember)
following this guide though hit several problems as you did. But my
purpose was to have a pfSense box with ability to compile things. I've
never created any .iso's.
What is your purpose? Jim's comments have perfect sense.
Evgeny.


-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



RE: [pfSense Support] How to build a Developer ISO

2011-01-31 Thread Mark Jones
Yea, the file is there, but the current dir isn't right, so it can't find it.

Maybe if the developer ISO is no longer supported, GeekGod could make a note of 
that on the Wiki page (or delete it entirely)

I found a note about ./update_git_repos.sh in the forums and have that running 
this morning.  Since there is no longer a developer ISO, my question changes 
somewhat.  I'm trying to get openfire to run on the pfSense box and I want to 
run python as well under apache with mod_wsgi or mod_python (our pfsense box is 
pretty stout, this isn't an embedded platform).  How do I go about getting 
those into the ISO to load on the platform  (pointing me at the page for adding 
them would be sufficient).  Part of the problem is that openfire is java based 
and due to licensing ?wars? loading java is a pain on FreeBSD.

-Original Message-
From: Jim Pingle [mailto:li...@pingle.org]
Sent: Monday, January 31, 2011 8:12 AM
To: support@pfsense.com
Subject: Re: [pfSense Support] How to build a Developer ISO

On 1/30/2011 11:29 PM, Mark Jones wrote:
 Well, I'm pretty close to admitting defeat.  I've followed the
 guidance given @

 http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso

 I've used FreeBSD 8, 7.2 and 7.1, and in all cases am unable to build a 
 developer ISO.  I've built portmaster and attempted to use it to build the 
 development ISO.

 I think a large part of the problems I'm having have to do with the FreeBSD 
 idea that you should build all these packages on every machine instead of 
 having prebuilt binaries you can install, and then those ports aren't in 
 sync with each other so that package A wants B, C and D, but B and D are 
 mutually exclusive on package E.

 For example:  you need seemingly pecl-APC to build a developer ISO yet pecl 
 APC won't be built if you have PHP4 and if you replace PHP4 with PHP5 then 
 other parts won't build because they are looking for PHP4 stuff.

 So, long story short, WHERE can I find a prebuilt Developer ISO, or barring 
 that how do I actually manage to build a developer ISO that compiles and 
 links so that I can actually produce the ISO?

 Oh, and my favorite error (after the several hundred compiler issues of 
 missing header files and redefined values is the one at the end of the build:

 .: Can't open ./builder_common.sh: No such file or directory

 Sorry if my tone seems a bit acerbic, but more than 3 days wasted trying to 
 get code to build has frazzled my nerves.

The actual Developer ISO is no longer supported. You can build a normal ISO 
fine, though. I setup builders frequently and lately it's been smooth, at least 
for a 2.0 builder on FreeBSD 8.1.

I haven't seen that builder_common.sh error, but that file does exist in the 
builder_scripts/ directory under the tools repo, where most of the work is done.

Some hints:
1. Do this in an isolated VM or server - don't try to re-use a box you've got 
doing other things.
2. Start with a clean install of FreeBSD 8.1 (no ports installed!), update your 
base OS to RELENG_8_1 with csup 3. Update the ports tree (portsnap fetch 
extract) before doing anything else. It's mentioned on the instructions but 
worth repeating.
4. All commands are run from /home/pfsense/tools/builder_scripts
5. Follow the directions on the page, but optionally skip the menu and just use 
./set_version.sh instead.
6. Run ./update_git_repos.sh between build attempts, to make sure you have the 
latest version of the code checked out.

That said, the build_iso.sh that produces an ISO image will give you a normal 
ISO, not a developer ISO. I'm not sure anyone has tried a dev iso in ages. We 
stopped the automated builds of them long ago, as we all just use FreeBSD 
VMs/jails to build things and then move them onto the firewall.

Jim

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com For additional 
commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org


-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] How to build a Developer ISO

2011-01-31 Thread Vick Khera
On Mon, Jan 31, 2011 at 10:52 AM, Mark Jones mjo...@imagehawk.com wrote:
 loading java is a pain on FreeBSD.

not really. download from freebsdfoundation.org, install.  done.

if you prefer you may re-build from sources as well once you have a
bootstrapping jdk installed.

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org