I do not know. Here I get:
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
./configure: line 5529: AC_PROG_OBJCXX: command not found
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
The patch adds an
m4_pattern_allow(AC_PROG_OBJCXX)
so the configure proceeds.
Maybe some dependencies are missing. I just require libtool. Do you need
to add autoconf and automake in your environment?
On Sat, Jul 27, 2013 at 2:59 AM, Axel Thimm <Axel.Thimm@atrpms.net> wrote:
> Hi,
>
> On Thu, Jul 25, 2013 at 09:04:51AM -0300, Paulo Cavalcanti wrote:
> > Hi Axel,
> >
> > I have just downloaded
> >
> >
> http://dl.atrpms.net/src/el6-i386/atrpms/stable/npapi-vlc-2.0.6-0.2git47ea8c7.src.rpm
> >
> > and it builds fine here with mock.
> >
> > The patch is being applied conditionally this way:
> >
> > # RHEL6 fix
> > %if 0%{?rhel} > 5
> > %patch0 -p1 -b .el6
> > %endif
> >
> > I can use --with rhel if you prefer ...
>
> I had used --define rhel\ 6 and the patch had been applied:
>
> + cd npapi-vlc-47ea8c7
> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + echo 'Patch #0 (npapi-vlc-47ea8c7-el6.patch):'
> Patch #0 (npapi-vlc-47ea8c7-el6.patch):
> + /bin/cat /var/tmp/repot-build/SOURCES/npapi-vlc-47ea8c7-el6.patch
>
> What else could be causing this?
>
> > On Thu, Jul 25, 2013 at 8:34 AM, Axel Thimm <Axel.Thimm@atrpms.net>
> wrote:
> >
> > > Hi,
> > >
> > > On Wed, Jul 03, 2013 at 01:10:11PM -0300, Paulo Cavalcanti wrote:
> > > > Sorry, Axel, my bad.
> > > >
> > > > I patched for rhel6, and it built there, but the patch broke
> > > > the other Fedora systems.
> > > >
> > > > I re-uploaded the same .src.rpm and the patch is only applied on
> rhel6
> > > now.
> > >
> > > it now breaks on RHEL6 with:
> > >
> > > checking for g++... g++
> > > checking whether we are using the GNU C++ compiler... yes
> > > checking whether g++ accepts -g... yes
> > > checking dependency style of g++... gcc3
> > > configure: WARNING: using cross tools not prefixed with host triplet
> > > ./configure: line 5382: syntax error near unexpected token `;;'
> > > ./configure: line 5382: `ac_tool_warned=yes ;;'
> > > error: Bad exit status from /var/tmp/rpm-tmp.WWo60t (%build)
> > >
> > > > On Wed, Jul 3, 2013 at 2:14 AM, Axel Thimm <Axel.Thimm@atrpms.net>
> > > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > On Sun, Jun 30, 2013 at 11:41:02AM -0300, Paulo Cavalcanti wrote:
> > > > > >
> > > > >
> > >
> http://people.atrpms.net/~pcavalcanti/srpms/npapi-vlc-2.0.6-0.2git47ea8c7.fc17.src.rpm
> > > > >
> > > > > This doesn't build on any platform. For f17 for example it fails
> with:
> > > > >
> > > > > checking for g++... g++
> > > > > checking whether we are using the GNU C++ compiler... yes
> > > > > checking whether g++ accepts -g... yes
> > > > > checking dependency style of g++... none
> > > > > configure: WARNING: using cross tools not prefixed with host
> triplet
> > > > > ./configure: line 5302: syntax error near unexpected token `;;'
> > > > > ./configure: line 5302: `ac_tool_warned=yes ;;'
> > > > > error: Bad exit status from /var/tmp/rpm-tmp.QbkvsR (%build)
> > > > >
> > > > >
> > > > > --
> > > > > Axel.Thimm at ATrpms.net
> > > > >
> > > > > _______________________________________________
> > > > > atrpms-devel mailing list
> > > > > atrpms-devel@atrpms.net
> > > > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Paulo Roma Cavalcanti
> > > > DCC - UFRJ
> > >
> > > > _______________________________________________
> > > > atrpms-devel mailing list
> > > > atrpms-devel@atrpms.net
> > > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel
> > >
> > >
> > > --
> > > Axel.Thimm at ATrpms.net
> > >
> > > _______________________________________________
> > > atrpms-devel mailing list
> > > atrpms-devel@atrpms.net
> > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel
> > >
> >
> >
> >
> > --
> > Paulo Roma Cavalcanti
> > DCC - UFRJ
>
> > _______________________________________________
> > atrpms-devel mailing list
> > atrpms-devel@atrpms.net
> > http://lists.atrpms.net/mailman/listinfo/atrpms-devel
>
>
> --
> Axel.Thimm at ATrpms.net
>
> _______________________________________________
> atrpms-devel mailing list
> atrpms-devel@atrpms.net
> http://lists.atrpms.net/mailman/listinfo/atrpms-devel
>
--
Paulo Roma Cavalcanti
DCC - UFRJ