It did. Thanks Orion!

On Thursday, November 26, 2009 at 2:48:00 AM UTC+1, elenzil wrote:
>
> should have done a bit more searching first. 
>
> looks like the solution may look like this: 
>
> * run configure with --prefix set to the target folder, 
>   and with --disable-shared specified to trigger static linking. 
>
> * make clean 
>
> * make install 
>
> and there you have a portable version of protoc ! 
>
> sorry for the spam, 
> hopefully this will help someone in the future. in the future! 
>
> orion 
>
>
> On Nov 25, 5:25 pm, elenzil <[email protected]> wrote: 
> > Howdy! 
> > 
> > apologies in advance if i ask something meaningless. 
> > 
> > we have a number of dev-boxes on osx and linux, 
> > and would like to simply compile protoc for each platform and include 
> > it as part of our project repository, 
> > rather than installing it up in the root /usr/local folder. 
> > this should simplify the build process for new engineers, and avoid 
> > having to sudo. 
> > 
> > is this feasible ? 
> > 
> > my approach was going to be to make install to a local folder and then 
> > copy that folder into our repo. 
> > 
> > however when using the --prefix option to ./configure, eg: 
> > ./configure --prefix="/tmp/myLocalFolder/protobuf" 
> > and then doing make install, 
> > i get the error 
> > "libtool: install: error: cannot install `libprotoc.la' to a directory 
> > not ending in /usr/local/lib". 
> > 
> > am i attempting something impossible / meaningless / ignorant ? 
> > 
> > tia, 
> > Orion 
>

Regards,
Amila 

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to