Re: can't build /graphics/poppler-qt after recent cvsup [FIXED]

2007-07-05 Thread John Nielsen
On Tuesday 03 July 2007 04:09:37 pm John Nielsen wrote:
 [cc-ing gnome@ as port maintainer]

 On Tuesday 03 July 2007 03:52:22 pm Dan Nelson wrote:
  In the last episode (Jul 03), [EMAIL PROTECTED] said:
   I'm having an odd proble getting poppler-qt to build after my latest
   cvsup.
  
   I use portmanager to update my ports and when I ran it today I got the
   following failure as the poppler-qt port was doing it's configure:
  
   ---Snip--
   checking for Qt headers... /usr/local/include
   checking for Qt libraries... /usr/local/lib
   test: xyes: unexpected operator
   configure: error: Qt development libraries not found
 
  It looks like QT's autoconf test is buggy.
  work/poppler-0.5.4/configure script, line 25757:
 
  if test x$have_qt4 == xyes; then
 
  == is not a valid comparison operator for the test command.  It must
  be =.

 I was having the same problem as the OP. After Dan's post I did a make
 patch, then modified the configure script replacing two instances of ==
 with = on these two lines:

 25851:if test x$have_qt == xyes; then
 26033:if test x$have_qt == xyes; then

 After that I was able to make and install the port.

 gnome@ folks, should I submit a PR or will you guys just take this upstream
 directly?

Thanks ahze for commiting a fix for this. poppler-qt-0.5.9_2 now builds and 
installs without any modifications on my system.

JN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't build /graphics/poppler-qt after recent cvsup

2007-07-03 Thread Dan Nelson
In the last episode (Jul 03), [EMAIL PROTECTED] said:
 
 Hi all,
 
 I'm having an odd proble getting poppler-qt to build after my latest cvsup.
 
 I use portmanager to update my ports and when I ran it today I got the
 following failure as the poppler-qt port was doing it's configure:
 
 ---Snip--
 checking for Qt headers... /usr/local/include
 checking for Qt libraries... /usr/local/lib
 test: xyes: unexpected operator
 configure: error: Qt development libraries not found

It looks like QT's autoconf test is buggy. 
work/poppler-0.5.4/configure script, line 25757:

if test x$have_qt4 == xyes; then

== is not a valid comparison operator for the test command.  It must
be =.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't build /graphics/poppler-qt after recent cvsup

2007-07-03 Thread John Nielsen
[cc-ing gnome@ as port maintainer]

On Tuesday 03 July 2007 03:52:22 pm Dan Nelson wrote:
 In the last episode (Jul 03), [EMAIL PROTECTED] said:
  I'm having an odd proble getting poppler-qt to build after my latest
  cvsup.
 
  I use portmanager to update my ports and when I ran it today I got the
  following failure as the poppler-qt port was doing it's configure:
 
  ---Snip--
  checking for Qt headers... /usr/local/include
  checking for Qt libraries... /usr/local/lib
  test: xyes: unexpected operator
  configure: error: Qt development libraries not found

 It looks like QT's autoconf test is buggy.
 work/poppler-0.5.4/configure script, line 25757:

 if test x$have_qt4 == xyes; then

 == is not a valid comparison operator for the test command.  It must
 be =.

I was having the same problem as the OP. After Dan's post I did a make 
patch, then modified the configure script replacing two instances of == with 
= on these two lines:

25851:if test x$have_qt == xyes; then
26033:if test x$have_qt == xyes; then

After that I was able to make and install the port.

gnome@ folks, should I submit a PR or will you guys just take this upstream 
directly?

JN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]