Re: MySQL 5.1.43 will build failed if enable --with-ndb-docs in Makfile's CONFIGURE_ARGS

2010-02-24 Thread Alex Dupre
James Chang ha scritto:
  I found MySQL 5.1.43 in FreeBSD ports tree will build failed when
 enable --with-ndb-docs in Makfile's CONFIGURE_ARGS.

And where have you found that you can manually modify the configure args
of a port and expect it will work?

-- 
Alex Dupre
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: MySQL 5.1.43 will build failed if enable --with-ndb-docs in Makfile's CONFIGURE_ARGS

2010-02-24 Thread James Chang
Hi Alex,

Thanks for your kindly notice.
I found this configure args from mysql 5.1.43 source tarball.
I have this problem(question) because I'm trying to build
MySQL ndb cluster envrionment.

   Are there any special issues in FreeBSD, so cannot use
the --with-ndb-docs args come from source code tarball?

Best Regards!


   James Chang

2010/2/24 Alex Dupre a...@freebsd.org:
 James Chang ha scritto:
      I found MySQL 5.1.43 in FreeBSD ports tree will build failed when
 enable --with-ndb-docs in Makfile's CONFIGURE_ARGS.

 And where have you found that you can manually modify the configure args
 of a port and expect it will work?

 --
 Alex Dupre

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: MySQL 5.1.43 will build failed if enable --with-ndb-docs in Makfile's CONFIGURE_ARGS

2010-02-24 Thread Ion-Mihai Tetcu

 [ don't top-post please ]

On Thu, 25 Feb 2010 12:37:47 +0800
James Chang james.tech...@gmail.com wrote:

 Hi Alex,
 
 Thanks for your kindly notice.
 I found this configure args from mysql 5.1.43 source tarball.
 I have this problem(question) because I'm trying to build
 MySQL ndb cluster envrionment.
 
Are there any special issues in FreeBSD, so cannot use
 the --with-ndb-docs args come from source code tarball?


Making all in docs
+ test /usr/bin/perl = no
+ test no = no
+ echo 'Doxygen needed to make docs'
Doxygen needed to make docs
+ exit 1
*** Error code 1


Do you have doxygen installed? It doesn't make much sense to depend on
doxygen and it depends and to lengthen build time if the docs so built
are the same as the one you can get from mysql site.


-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect
FreeBSD committer - ite...@freebsd.org, PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


MySQL 5.1.43 will build failed if enable --with-ndb-docs in Makfile's CONFIGURE_ARGS

2010-02-23 Thread James Chang
Dear Sir,

 I found MySQL 5.1.43 in FreeBSD ports tree will build failed when
enable --with-ndb-docs in Makfile's CONFIGURE_ARGS.
Following are the error message.

libtool: link: c++ -I../../../storage/ndb/src/mgmapi
-I../../../storage/ndb/src/mgmsrv
-I../../../storage/ndb/include/mgmcommon -DMYSQLCLUSTERDIR=\\ -O2
-fno-strict-aliasing -pipe -march=nocona -O3 -fno-omit-frame-pointer
-fno-gcse -fPIC -fconserve-space -O2 -fno-strict-aliasing -pipe
-march=nocona -O3 -fno-omit-frame-pointer -fno-gcse -fPIC
-felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates
-fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100 -o
ndb_config ndb_config-ndb_config.o ndb_config-Config.o
ndb_config-ConfigInfo.o ndb_config-InitConfigFileParser.o -pthread
-pthread  ../../../storage/ndb/src/.libs/libndbclient.a
../../../dbug/libdbug.a ../../../mysys/libmysys.a
../../../strings/libmystrings.a -lz -lcrypt -lm -pthread
Making all in .
Making all in include
Making all in docs
+ test /usr/bin/perl = no
+ test no = no
+ echo 'Doxygen needed to make docs'
Doxygen needed to make docs
+ exit 1
*** Error code 1
+ export NDB_RELEASE=5.1.43-
+ export NDB_RELEASE=5.1.43-
+ /bin/rm -f ndbapi.pdf ndbapi.html
+ /bin/rm -f mgmapi.pdf mgmapi.html
+ /bin/rm -rf .doxytmp .doxyout
+ /bin/rm -rf .doxytmp .doxyout
+ mkdir -p .doxytmp .doxyout
+ mkdir -p .doxytmp .doxyout
+ /bin/cp ../../../storage/ndb/include/ndbapi/Ndb.hpp
../../../storage/ndb/include/ndbapi/NdbApi.hpp
../../../storage/ndb/include/ndbapi/NdbBlob.hpp
../../../storage/ndb/include/ndbapi/NdbDictionary.hpp
../../../storage/ndb/include/ndbapi/NdbError.hpp
../../../storage/ndb/include/ndbapi/NdbEventOperation.hpp
../../../storage/ndb/include/ndbapi/NdbIndexOperation.hpp
../../../storage/ndb/include/ndbapi/NdbIndexScanOperation.hpp
../../../storage/ndb/include/ndbapi/NdbIndexStat.hpp
../../../storage/ndb/include/ndbapi/NdbOperation.hpp
../../../storage/ndb/include/ndbapi/NdbPool.hpp
../../../storage/ndb/include/ndbapi/NdbRecAttr.hpp
../../../storage/ndb/include/ndbapi/NdbReceiver.hpp
../../../storage/ndb/include/ndbapi/NdbScanFilter.hpp
../../../storage/ndb/include/ndbapi/NdbScanOperation.hpp
../../../storage/ndb/include/ndbapi/NdbTransaction.hpp
../../../storage/ndb/include/ndbapi/ndb_cluster_connection.hpp
../../../storage/ndb/include/ndbapi/ndb_opt_defaults.h
../../../storage/ndb/include/ndbapi/ndbapi_limits.h
../../../storage/ndb/include/ndbapi/ndberror.h .doxytmp
+ /bin/cp ../../../storage/ndb/include/mgmapi/mgmapi.h
../../../storage/ndb/include/mgmapi/mgmapi_config_parameters.h
../../../storage/ndb/include/mgmapi/mgmapi_config_parameters_debug.h
../../../storage/ndb/include/mgmapi/mgmapi_debug.h
../../../storage/ndb/include/mgmapi/mgmapi_error.h
../../../storage/ndb/include/mgmapi/ndb_logevent.h
../../../storage/ndb/include/mgmapi/ndbd_exit_codes.h .doxytmp
+ /usr/bin/perl doxygen/predoxy.pl
+ /bin/cp ../../../storage/ndb/ndbapi-examples/mgmapi_logevent/main.cpp
../../../storage/ndb/ndbapi-examples/mgmapi_logevent2/main.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_async/ndbapi_async.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_async1/ndbapi_async1.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_event/ndbapi_event.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_retries/ndbapi_retries.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_scan/ndbapi_scan.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_simple/ndbapi_simple.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_simple_dual/main.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_simple_index/main.cpp
.doxytmp
+ /usr/bin/perl doxygen/predoxy.pl
Preformat finished

+ mv footer.html .doxytmp
+ cd .doxytmp
+ no ../doxygen/Doxyfile.mgmapi
no: not found
Preformat finished

+ mv footer.html .doxytmp
*** Error code 127
+ cd .doxytmp
+ no ../doxygen/Doxyfile.ndbapi
no: not found
*** Error code 127
3 errors
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/databases/mysql51-server.


Best Regards!


 James Chang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


HEADS UP: default CONFIGURE_ARGS (CONFIGURE_TARGET) is updated

2008-08-21 Thread Rong-En Fan
Dear porters,

I just committed a change that affects all ports that use GNU_CONFIGURE
(include those who use autotools).

The default syntax for CONFIGURE_TARGET in CONFIGURE_ARGS is updated
to use the new syntax for autoconf  2.13. That is, we will use
--build=${CONFIGURE_TARGET} where applicable. Ports no longer
need to change CONFIGURE_TARGET.

Thanks,
Rong-En Fan

- Forwarded message from Rong-En Fan [EMAIL PROTECTED] -

From: Rong-En Fan [EMAIL PROTECTED]
Date: Thu, 21 Aug 2008 06:18:49 + (UTC)
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: cvs commit: ports/Mk bsd.gnome.mk bsd.kde.mk bsd.port.mk
ports/accessibility/yasr Makefile ports/archivers/advancecomp
Makefile ports/archivers/arj Makefile ports/archivers/dact
Makefile ports/archivers/gzip Makefile ports/archivers/libmspack ...

rafan   2008-08-21 06:18:49 UTC

  FreeBSD ports repository

  Modified files:
[...]

  Log:
  Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
  Specifically, newer autoconf ( 2.13) has different semantic of the
  configure target. In short, one should use --build=CONFIGURE_TARGET
  instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
  and the old semantic may be removed in later autoconf releases.
  
  To workaround this issue, many ports hack the CONFIGURE_TARGET variable
  so that it contains the ``--build='' prefix.
  
  To solve this issue, under the fact that some ports still have
  configure script generated by the old autoconf, we use runtime detection
  in the do-configure target so that the proper argument can be used.
  
  Changes to Mk/*:
   - Add runtime detection magic in bsd.port.mk
   - Remove CONFIGURE_TARGET hack in various bsd.*.mk
   - USE_GNOME=gnometarget is now an no-op
  
  Changes to individual ports, other than removing the CONFIGURE_TARGET hack:
  
  = pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
- comms/gnuradio
- science/abinit
- science/elmer-fem
- science/elmer-matc
- science/elmer-meshgen2d
- science/elmerfront
- science/elmerpost
  
  = use x86_64 as ARCH
- devel/g-wrap
  
  = other changes
- print/magicfilter
  GNU_CONFIGURE - HAS_CONFIGURE since it's not generated by autoconf
  
  Total # of ports modified:  1,027
  Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)
  
  PR: 126524 (obsoletes 52917)  
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=126524
  Submitted by:   rafan
  Tested on:  two pointyhat 7-amd64 exp runs (by pav)
  Approved by:portmgr (pav)

[...]
- End forwarded message -


pgpwBfCEpJPEq.pgp
Description: PGP signature


HEADS UP: default CONFIGURE_ARGS changed

2007-07-23 Thread Rong-En Fan
FYI, the default CONFIGURE_ARGS for GNU_CONFIGURE is now 
having --mandir and --infodir if configure script supports them
(determined by configure --help). I have eliminated most
of them in ports' makefile. I plan to do a sweep to remove
them all.

Regards,
Rong-En Fan

- Forwarded message from Rong-En Fan [EMAIL PROTECTED] -

From: Rong-En Fan [EMAIL PROTECTED]
Date: Mon, 23 Jul 2007 09:36:52 + (UTC)
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: cvs commit: ports/Mk bsd.gnome.mk bsd.port.mk bsd.xorg.mk
ports/archivers/dpkg Makefile ports/archivers/gtar Makefile
ports/archivers/gzip Makefile ports/archivers/libarchive Makefile
ports/astro/starplot Makefile ports/astro/tclgeomap Makefile ...
X-Bogosity: Ham, tests=bogofilter, spamicity=0.00, version=1.1.5

rafan   2007-07-23 09:36:52 UTC

  FreeBSD ports repository

  Modified files:
Mk   bsd.gnome.mk bsd.port.mk bsd.xorg.mk 
archivers/dpkg   Makefile 
archivers/gtar   Makefile 
archivers/gzip   Makefile 
archivers/libarchive Makefile 
astro/starplot   Makefile 
astro/tclgeomap  Makefile 
astro/tkgeomap   Makefile 
audio/audacity-devel Makefile 
audio/checkmate  Makefile 
audio/cmus   Makefile 
audio/darkiceMakefile 
audio/ecasound   Makefile 
audio/esound Makefile 
audio/gnupod Makefile 
audio/gtick  Makefile 
audio/jack   Makefile 
audio/libadplug  Makefile 
audio/libsndfile Makefile 
audio/mocMakefile 
audio/mp3blaster Makefile 
audio/musicpdMakefile 
audio/py-eyed3   Makefile 
audio/shntoolMakefile 
audio/solfegeMakefile 
audio/speex  Makefile 
audio/twolameMakefile 
audio/wavbreaker Makefile 
audio/xanalyser  Makefile 
benchmarks/postalMakefile 
cad/alliance Makefile 
cad/freehdl  Makefile 
cad/geda-gattrib Makefile 
cad/geda-gschem  Makefile 
cad/geda-netlist Makefile 
cad/geda-symcheckMakefile 
cad/geda-utils   Makefile 
cad/gerbvMakefile 
cad/gnucap   Makefile 
cad/qucs Makefile 
comms/efax-gtk   Makefile 
comms/gpredict   Makefile 
comms/grig   Makefile 
comms/hf Makefile 
comms/linrad Makefile 
comms/qfaxreader Makefile 
comms/tilp2  Makefile 
comms/xdxMakefile 
comms/xlog   Makefile 
converters/tnef  Makefile 
databases/postgisMakefile 
databases/xapian-core Makefile 
deskutils/doodle Makefile 
deskutils/gdesklets  Makefile 
deskutils/gnome-utils Makefile 
devel/arm-elf-binutils Makefile 
devel/autoconf261Makefile 
devel/autodist   Makefile 
devel/autogenMakefile 
devel/automake110Makefile 
devel/automake19 Makefile 
devel/cook   Makefile 
devel/cppi   Makefile 
devel/cxref  Makefile 
devel/darcs  Makefile 
devel/djgpp-binutils Makefile 
devel/djgpp-gcc  Makefile 
devel/gconf2 Makefile 
devel/geany  Makefile 
devel/gengetopt  Makefile 
devel/gettextMakefile 
devel/gnu-autoconf   Makefile 
devel/gnu-automake   Makefile 
devel/gperf  Makefile 
devel/gtranslatorMakefile 
devel/guile-lib  Makefile 
devel/kdesdk3Makefile 
devel/libIDL Makefile 
devel/libbonobo  Makefile 
devel/libccidMakefile 
devel/libevent   Makefile 
devel/libgtopMakefile 
devel/libruinMakefile 
devel/libslang2  Makefile 
devel/libstatgrabMakefile 
devel/libtool15  Makefile 
devel/libzvbiMakefile 
devel/m4 Makefile 
devel/mcpp   Makefile 
devel/mingw32-binutils Makefile 
devel/mingw32-gccMakefile 
devel/mm Makefile 
devel/monotone   Makefile 
devel/msp430-binutils Makefile 
devel/msp430-gcc Makefile 
devel/ossp-cfg   Makefile 
devel/ossp-l2Makefile 
devel/pcre   Makefile 
devel/pcsc-lite  Makefile 
devel/pkg-config Makefile 
devel/rlwrap Makefile 
devel/shtool Makefile 
devel/yasm   Makefile 
devel/zziplibMakefile 
dns/bind9Makefile 
dns/bind9-sdb-ldap   Makefile 
dns/bind94   Makefile 
dns/c-ares   Makefile 
dns/libidn   Makefile 
dns/powerdns Makefile 
dns/updatedd Makefile 
editors/emacs-devel  Makefile 
editors/emacs20  Makefile 
editors/gobbyMakefile 
editors/morlaMakefile 
editors/nano

Re: HEADS UP: default CONFIGURE_ARGS changed

2007-07-23 Thread Simon Barner
Rong-En Fan wrote:
 FYI, the default CONFIGURE_ARGS for GNU_CONFIGURE is now 
 having --mandir and --infodir if configure script supports them
 (determined by configure --help). I have eliminated most
 of them in ports' makefile. I plan to do a sweep to remove
 them all.

Do you also plan to teach `portlint' to check for new instances of  


these command line options? 

-- 
Best regards / Viele Grüße, [EMAIL PROTECTED]
 Simon Barner[EMAIL PROTECTED]


pgpTHnbSXYdIW.pgp
Description: PGP signature


Re: HEADS UP: default CONFIGURE_ARGS changed

2007-07-23 Thread Rong-en Fan

On 7/23/07, Simon Barner [EMAIL PROTECTED] wrote:

Rong-En Fan wrote:
 FYI, the default CONFIGURE_ARGS for GNU_CONFIGURE is now
 having --mandir and --infodir if configure script supports them
 (determined by configure --help). I have eliminated most
 of them in ports' makefile. I plan to do a sweep to remove
 them all.

Do you also plan to teach `portlint' to check for new instances of
these command line options?


Thanks for the suggestion. I have a patch at

http://people.freebsd.org/~rafan/portlint-maninfodir.diff

I'm not sure if I put the check in the right place. Maybe marcus@
can comment on it.

You can run this against sysutils/ldapvi.

Regards,
Rong-En Fan


--
Best regards / Viele Grüße, [EMAIL PROTECTED]
 Simon Barner[EMAIL PROTECTED]



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


Re: CONFIGURE_ARGS+

2007-02-03 Thread Tilman Linneweh

Hello Umar,

This thread is more suitable on freebsd-port Mailinglist.

On Feb 3, 2007, at 8:42, Umar Draz wrote:
Fewdays ago I have installed mysql50-server through ports. During  
install I haved edited Makefile and add --disable-shared in  
CONFIGURE_ARGS=


Now today I updated my ports tree. and mysql50-server Makefile is  
also changeed due to new version so my changing is destroy I want  
to upgrade mysql50-server with portupgrade so please help me what  
is the best way to add extra CONFIGURE_ARGS in /etc/make.file or / 
usr/local/etc/pkgtools.conf that whenever I upgrade my mysql50- 
server my configuration not destroy.


This is the default Makefile of databases/mysql50-server

CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
--without-readline \
--without-libedit \
--without-bench \
--without-extra-tools \
--with-libwrap \
--with-mysqlfs \
--with-low-memory \
--with-comment='FreeBSD port: ${PKGNAME}' \
--enable-thread-safe-client

I don't want to change these default paraments just want to add  
extra CONFIGUR_ARGS --disable-shared --with-mysql-user=mysql etc.



Why do want to add --disable-shared?
Beware, if you change the CONFIGURE_ARGS, you are also changing the  
plist.
If it would be useful to more people to build mysql with --disable- 
shared, you can write a patch to the port and submit it with send-pr.


You can also try to do it in pkgtools.conf.

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