Boost logo

Boost Users :

From: Daniel Lord (daniel_at_[hidden])
Date: 2008-03-12 15:07:24


Dave, sorry we had a race condition on our posts.
Regex compiles for me with a straght 'configure', 'make', and 'sudo make
install'. I don't use "-with-libraries=regex", I just build everything and
let it install in the default /usr/local tree. However, while the dynamic
libs install with the right permissions, on my systems (Mac Pro 10.5.2 and
MacbookPro 10.5.2) the static libs end up 'rw' for root only so I do this
afterwards to fix that:

"sudo find /usr/local/lib -regex '.*\.a' -exec chmod 666 {} \;"

Daniel

On 3/12/08, Daniel Lord <daniel_at_[hidden]> wrote:
>
> You went straight to 'sudo make install' without 'configure' and 'make'
> first?
> I don't know for certain what happened in your case, but I would not
> recommend assuming any configuration in there after the unpack was suitable
> for a platform and skip that step.
>
>
> I usually run 'configure' to check that the 'darwin' system type is
> recognized an all prerequisites are found. I also run 'make' separately from
> 'install' so I can run any check or test phases before installing.
>
>
> That has saved me grief a few times with GMP (Gnu Multi-Precision library)
> alone. GMP will appear to compile correctly with no errors and you'd think
> you could just install it. Yet that build will fail significant tests. If
> you blindly install, you'll have a flawed installation that will give bogus
> calculation results. SInce I use GMP to generate prime pairs for asymmetric
> encryption and quantitative finance calculations, among other things, that
> would be very, very bad.
>
>
> I would caution you to always 'configure', 'make', 'test/check, and only
> then to 'install'. The time you save in the end chasing ghosts in your
> machine will be worth it.
>
> On 3/12/08, Dave DeLong <davedelong_at_[hidden]> wrote:
>
> > I just ssh'd onto a Linux machine here at my school and compiled and ran
> > it there, and the test code works fine, so I guess I have a problem with my
> > boost install. All I did was download the tar, untar it, cd into the
> > directory, and run "sudo make install". It ran for about four hours (I have
> > an older Powerbook G4).
> >
> > Did I miss a step?
> >
> >
> > Dave
> >
> > _______________________________________________
> > Boost-users mailing list
> > Boost-users_at_[hidden]
> > http://lists.boost.org/mailman/listinfo.cgi/boost-users
> >
>
>
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net