How to compile a soft same as the version realeased by fedora?

GeeKer Wang wwthunan at gmail.com
Tue Mar 22 13:41:28 UTC 2011


I have install redhat-rpm-config, and I didn't see separate pkg.
Separating debuginfo will make it run much faster?

On Mon, Mar 21, 2011 at 8:45 PM, Rex Dieter <rdieter at math.unl.edu> wrote:

> GeeKer Wang wrote:
>
> > Hi,  guys
> >     I tried to compile OpenSceneGraph-2.8.3-3.fc14.rpm software, and got
> a
> > low efficient and large version of it. But the version from fedora-repo
> > works well.
> > eg. my version with frame rate < 10, while fedora-repo version with frame
> > rate ~=40.
> >
> > I have tried three ways:
> > 1. configure && make
> > 2. ccmake && make
> > 3. rpmbuild --recompile OpenSceneGraph-2.8.3-3.fc14.src.rpm
> > They resulted the same anyway. Especially, the rpmbuld way took 3G+ disk
> > space, each .so file is much larger and each application is slower. It's
> > realy strange to me. I use the gcc/g++ 4.5.1 under fedora 14.
> >
> >  So where the differences come from? Or where are the special places in
> > fedora's compiling environment? Any advice will be appreciated, thx.
>
> 3 is the way to go, I'd venture you didn't have redhat-rpm-config
> installed,
> so it used slightly different compiler flags and didn't generate a separate
> -debuginfo pkg (ie, why it was so much bigger).
>
> -- Rex
>
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>



-- 
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110322/2994dc5c/attachment-0001.html 


More information about the users mailing list