Re: Modifying gcc34 makefile to compile with java

2006-11-19 Thread David Pratt
Hi Kris. This is a libgcj in gcc issue and have posted to 
[EMAIL PROTECTED] list. I see that there is a similar reference to 
something similar on Darwin platform which has FreeBSD roots. It seems 
that unwind symbol may be getting introduced into libgcj (so that when 
compiled produces the error). I believe this symbol provides support for 
libunwind for specific platforms other than FreeBSD. l'll have to track 
down the person responsible for the FreeBSD port since they should also 
be interested in determining a solution.


Regards,
David

Kris Kennaway wrote:

On Sat, Nov 18, 2006 at 08:58:01PM -0400, David Pratt wrote:
Hi Kris. I realize the java support prior to 4 requires a ton of RAM to 
compile but I also know the compiler is reasonably good afterwards (from 
other platforms) but have not been successful with FreeBSD at this 
point.


I attempted a few tries at 4.1 an 4.2 today and getting this 
sort of an error using gcj:


/usr/local/lib/gcc-4.2.0/libgcj.so.8: Undefined symbol _Unwind_GetIPInfo

so am looking to try something earlier that is known to work on Linux.


If I were you I'd focus on solving that error instead.  Without more
context I can't help though.

Kris

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


Modifying gcc34 makefile to compile with java

2006-11-18 Thread David Pratt
Hi. I have recently tried to compile gcc34 port with java by modifying 
Makefile by adding the argument


--enable-languages=c,c++,java

This failed giving me a list of languages that excluded java. This 
version of gcc is capable of compiling with java. Can someone provide 
some advice on getting this port to compile with java properly. Anyone 
done this? Many thanks.


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


Re: Modifying gcc34 makefile to compile with java

2006-11-18 Thread David Pratt
Hi Kris. I realize the java support prior to 4 requires a ton of RAM to 
compile but I also know the compiler is reasonably good afterwards (from 
other platforms) but have not been successful with FreeBSD at this 
point.  I attempted a few tries at 4.1 an 4.2 today and getting this 
sort of an error using gcj:


/usr/local/lib/gcc-4.2.0/libgcj.so.8: Undefined symbol _Unwind_GetIPInfo

so am looking to try something earlier that is known to work on Linux.

Regards,
David

Kris Kennaway wrote:

On Sat, Nov 18, 2006 at 07:19:16PM -0400, David Pratt wrote:
Hi. I have recently tried to compile gcc34 port with java by modifying 
Makefile by adding the argument


--enable-languages=c,c++,java

This failed giving me a list of languages that excluded java. This 
version of gcc is capable of compiling with java. Can someone provide 
some advice on getting this port to compile with java properly. Anyone 
done this? Many thanks.


AFAIK you really don't want to use gcc 3.4's java support, it was not
usable before the 4.x branch.  Accordingly, the gcc 4.x ports allow
java to be specified.

Kris

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


gcc41-withgcjawt port and X11?

2006-08-03 Thread David Pratt
Hi, I am in the process of installing gcc41-withgcjawt simple to install 
pyLucene. It seems that X11 is installing as part of this which is 
extremely heavy, unnecessary and unusual. How is this getting into the mix?


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


Re: gcc41-withgcjawt port and X11?

2006-08-03 Thread David Pratt
Hi. To get what I am after, I have modified the gcc41 Makefile 
commenting out


WITHOUT_JAVA = yes

to bypass all of the xterm, x blah blah and related graphics packages 
gcc41-withgcjawt wants to throw in.  All I am after is a compiler with 
gcj support.


Regards,
David

William Woodhams wrote:

I would think it would be the pyLucene but that is very interesting.

Bill Woodhams
Systems Technician
Development Group-Technical Systems
Wegmans Food Markets
Direct:(585) 429-3183
[EMAIL PROTECTED]
 
 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Pratt
Sent: Thursday, August 03, 2006 10:27 AM
To: freebsd-questions@freebsd.org
Subject: gcc41-withgcjawt port and X11?

Hi, I am in the process of installing gcc41-withgcjawt simple to install

pyLucene. It seems that X11 is installing as part of this which is 
extremely heavy, unnecessary and unusual. How is this getting into the

mix?

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


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


Upgrading Subversion to 1.3.0 problem

2006-04-14 Thread David Pratt
Hi. I am attempting to bring my version of subversion up to date to 
1.3.0 on ports. It fails and I am hoping someone can advise what I can 
do to correct the problem(s). Many thanks.


Here are the text of the build:

** Detected a package name change: apr-nothr-db4 (devel/apr-svn) - 
'apr-nothr-db42' (devel/apr-svn)
---  Upgrading 'apr-nothr-db4-0.9.4_9' to 'apr-nothr-db42-1.2.2_3' 
(devel/apr-svn)

---  Building '/usr/ports/devel/apr-svn'
===  Cleaning for pkg_install-20060113
===  Cleaning for python-2.4.3
===  Cleaning for gmake-3.80_2
===  Cleaning for automake-1.9.6
===  Cleaning for autoconf-2.59_2
===  Cleaning for libtool-1.5.22_2
===  Cleaning for expat-2.0.0_1
===  Cleaning for libiconv-1.9.2_2
===  Cleaning for db42-4.2.52_4
===  Cleaning for gettext-0.14.5_2
===  Cleaning for m4-1.4.4
===  Cleaning for help2man-1.36.3
===  Cleaning for p5-gettext-1.05_1
===  Cleaning for apr-nothr-db42-1.2.2_3
===  WARNING: Vulnerability database out of date, checking anyway
===  Extracting for apr-nothr-db42-1.2.2_3
= MD5 Checksum OK for apr-1.2.2.tar.gz.
= MD5 Checksum OK for apr-util-1.2.2.tar.gz.
===   apr-nothr-db42-1.2.2_3 depends on file: /usr/local/sbin/pkg_info 
- found


apr library will be built without threads support.

GDBM was not found.
You can force GDBM support by defining APR_UTIL_WITH_GDBM.

Berkeley DB support forced.

===  Patching for apr-nothr-db42-1.2.2_3
===  Applying FreeBSD patches for apr-nothr-db42-1.2.2_3
/usr/bin/sed -i.bak -e 's/OSVERSION/'491000'/g' 
/usr/ports/devel/apr-svn/work/apr-1.2.2/build/apr_hints.m4
/usr/bin/find /usr/ports/devel/apr-svn/work -name Makefile.in* | 
/usr/bin/xargs /usr/bin/sed -i.bak -e 
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'

===   apr-nothr-db42-1.2.2_3 depends on file: /usr/local/bin/python - found
===   apr-nothr-db42-1.2.2_3 depends on executable: gmake - found
===   apr-nothr-db42-1.2.2_3 depends on file: /usr/local/bin/automake19 
- found
===   apr-nothr-db42-1.2.2_3 depends on file: 
/usr/local/bin/autoconf259 - found
===   apr-nothr-db42-1.2.2_3 depends on file: /usr/local/bin/libtool - 
found

===   apr-nothr-db42-1.2.2_3 depends on shared library: expat.6 - found
===   apr-nothr-db42-1.2.2_3 depends on shared library: iconv.3 - found
===   apr-nothr-db42-1.2.2_3 depends on shared library: db-4.2.2 - found
===  Configuring for apr-nothr-db42-1.2.2_3
/bin/cp -f /usr/ports/Templates/config.guess 
/usr/ports/devel/apr-svn/work/apr-1.2.2/build/config.guess

/bin/chmod a+rx /usr/ports/devel/apr-svn/work/apr-1.2.2/build/config.guess
/bin/cp -f /usr/ports/Templates/config.sub 
/usr/ports/devel/apr-svn/work/apr-1.2.2/build/config.sub

/bin/chmod a+rx /usr/ports/devel/apr-svn/work/apr-1.2.2/build/config.sub
/bin/cp -f /usr/ports/Templates/config.guess 
/usr/ports/devel/apr-svn/work/apr-util-1.2.2/build/config.guess
/bin/chmod a+rx 
/usr/ports/devel/apr-svn/work/apr-util-1.2.2/build/config.guess
/bin/cp -f /usr/ports/Templates/config.sub 
/usr/ports/devel/apr-svn/work/apr-util-1.2.2/build/config.sub
/bin/chmod a+rx 
/usr/ports/devel/apr-svn/work/apr-util-1.2.2/build/config.sub
cd /usr/ports/devel/apr-svn/work/apr-1.2.2 ;  /usr/bin/env SHELL=/bin/sh 
CONFIG_SHELL=/bin/sh PORTOBJFORMAT=elf MAKE=gmake 
PATH=/usr/local/libexec/automake19:/usr/local/libexec/autoconf259:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin 
ACLOCAL=/usr/local/bin/aclocal19 AUTOMAKE=/usr/local/bin/automake19 
AUTOCONF=/usr/local/bin/autoconf259 
AUTOHEADER=/usr/local/bin/autoheader259 
AUTOIFNAMES=/usr/local/bin/ifnames259 
AUTOM4TE=/usr/local/bin/autom4te259 
AUTORECONF=/usr/local/bin/autoreconf259 
AUTOSCAN=/usr/local/bin/autoscan259 
AUTOUPDATE=/usr/local/bin/autoupdate259 LIBTOOL=/usr/local/bin/libtool 
LIBTOOLIZE=/usr/local/bin/libtoolize 
LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4 
lt_cv_sys_max_cmd_len=65536 /bin/sh ./buildconf

buildconf: checking installation...
buildconf: python version 2.4.3 (ok)
buildconf: autoconf version 2.59 (ok)
buildconf: libtool version 1.5.22 (ok)
Copying libtool helper files ...
buildconf: Using libtool.m4 at /usr/local/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
./buildconf: /usr/local/bin/autoheader259: not found
Creating configure ...
exec: /usr/local/bin/autom4te259: not found
Generating 'make' outputs ...
rebuilding rpm spec file
cd /usr/ports/devel/apr-svn/work/apr-util-1.2.2 ;  /bin/rm -fr xml/expat
cd /usr/ports/devel/apr-svn/work/apr-util-1.2.2 ;  /usr/bin/env 
SHELL=/bin/sh CONFIG_SHELL=/bin/sh PORTOBJFORMAT=elf MAKE=gmake 
PATH=/usr/local/libexec/automake19:/usr/local/libexec/autoconf259:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin 
ACLOCAL=/usr/local/bin/aclocal19 AUTOMAKE=/usr/local/bin/automake19 
AUTOCONF=/usr/local/bin/autoconf259 
AUTOHEADER=/usr/local/bin/autoheader259 
AUTOIFNAMES=/usr/local/bin/ifnames259 
AUTOM4TE=/usr/local/bin/autom4te259 

Re: Upgrading Subversion to 1.3.0 problem

2006-04-14 Thread David Pratt

Figured this one out. For benefit of others I did the following:
pkg_delete on autoconf259, then deinstall and reinstall on it and then 
tried subversion build again and it went fine.


David Pratt wrote:
Hi. I am attempting to bring my version of subversion up to date to 
1.3.0 on ports. It fails and I am hoping someone can advise what I can 
do to correct the problem(s). Many thanks.


Here are the text of the build:

** Detected a package name change: apr-nothr-db4 (devel/apr-svn) - 
'apr-nothr-db42' (devel/apr-svn)
---  Upgrading 'apr-nothr-db4-0.9.4_9' to 'apr-nothr-db42-1.2.2_3' 
(devel/apr-svn)

---  Building '/usr/ports/devel/apr-svn'
===  Cleaning for pkg_install-20060113
===  Cleaning for python-2.4.3
===  Cleaning for gmake-3.80_2
===  Cleaning for automake-1.9.6
===  Cleaning for autoconf-2.59_2
===  Cleaning for libtool-1.5.22_2
===  Cleaning for expat-2.0.0_1
===  Cleaning for libiconv-1.9.2_2
===  Cleaning for db42-4.2.52_4
===  Cleaning for gettext-0.14.5_2
===  Cleaning for m4-1.4.4
===  Cleaning for help2man-1.36.3
===  Cleaning for p5-gettext-1.05_1
===  Cleaning for apr-nothr-db42-1.2.2_3
===  WARNING: Vulnerability database out of date, checking anyway
===  Extracting for apr-nothr-db42-1.2.2_3
= MD5 Checksum OK for apr-1.2.2.tar.gz.
= MD5 Checksum OK for apr-util-1.2.2.tar.gz.
===   apr-nothr-db42-1.2.2_3 depends on file: /usr/local/sbin/pkg_info 
- found


apr library will be built without threads support.

GDBM was not found.
You can force GDBM support by defining APR_UTIL_WITH_GDBM.

Berkeley DB support forced.

===  Patching for apr-nothr-db42-1.2.2_3
===  Applying FreeBSD patches for apr-nothr-db42-1.2.2_3
/usr/bin/sed -i.bak -e 's/OSVERSION/'491000'/g' 
/usr/ports/devel/apr-svn/work/apr-1.2.2/build/apr_hints.m4
/usr/bin/find /usr/ports/devel/apr-svn/work -name Makefile.in* | 
/usr/bin/xargs /usr/bin/sed -i.bak -e 
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
===   apr-nothr-db42-1.2.2_3 depends on file: /usr/local/bin/python - 
found

===   apr-nothr-db42-1.2.2_3 depends on executable: gmake - found
===   apr-nothr-db42-1.2.2_3 depends on file: /usr/local/bin/automake19 
- found
===   apr-nothr-db42-1.2.2_3 depends on file: 
/usr/local/bin/autoconf259 - found
===   apr-nothr-db42-1.2.2_3 depends on file: /usr/local/bin/libtool - 
found

===   apr-nothr-db42-1.2.2_3 depends on shared library: expat.6 - found
===   apr-nothr-db42-1.2.2_3 depends on shared library: iconv.3 - found
===   apr-nothr-db42-1.2.2_3 depends on shared library: db-4.2.2 - found
===  Configuring for apr-nothr-db42-1.2.2_3
/bin/cp -f /usr/ports/Templates/config.guess 
/usr/ports/devel/apr-svn/work/apr-1.2.2/build/config.guess

/bin/chmod a+rx /usr/ports/devel/apr-svn/work/apr-1.2.2/build/config.guess
/bin/cp -f /usr/ports/Templates/config.sub 
/usr/ports/devel/apr-svn/work/apr-1.2.2/build/config.sub

/bin/chmod a+rx /usr/ports/devel/apr-svn/work/apr-1.2.2/build/config.sub
/bin/cp -f /usr/ports/Templates/config.guess 
/usr/ports/devel/apr-svn/work/apr-util-1.2.2/build/config.guess
/bin/chmod a+rx 
/usr/ports/devel/apr-svn/work/apr-util-1.2.2/build/config.guess
/bin/cp -f /usr/ports/Templates/config.sub 
/usr/ports/devel/apr-svn/work/apr-util-1.2.2/build/config.sub
/bin/chmod a+rx 
/usr/ports/devel/apr-svn/work/apr-util-1.2.2/build/config.sub
cd /usr/ports/devel/apr-svn/work/apr-1.2.2 ;  /usr/bin/env SHELL=/bin/sh 
CONFIG_SHELL=/bin/sh PORTOBJFORMAT=elf MAKE=gmake 
PATH=/usr/local/libexec/automake19:/usr/local/libexec/autoconf259:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin 
ACLOCAL=/usr/local/bin/aclocal19 AUTOMAKE=/usr/local/bin/automake19 
AUTOCONF=/usr/local/bin/autoconf259 
AUTOHEADER=/usr/local/bin/autoheader259 
AUTOIFNAMES=/usr/local/bin/ifnames259 
AUTOM4TE=/usr/local/bin/autom4te259 
AUTORECONF=/usr/local/bin/autoreconf259 
AUTOSCAN=/usr/local/bin/autoscan259 
AUTOUPDATE=/usr/local/bin/autoupdate259 LIBTOOL=/usr/local/bin/libtool 
LIBTOOLIZE=/usr/local/bin/libtoolize 
LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4 
lt_cv_sys_max_cmd_len=65536 /bin/sh ./buildconf

buildconf: checking installation...
buildconf: python version 2.4.3 (ok)
buildconf: autoconf version 2.59 (ok)
buildconf: libtool version 1.5.22 (ok)
Copying libtool helper files ...
buildconf: Using libtool.m4 at /usr/local/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
./buildconf: /usr/local/bin/autoheader259: not found
Creating configure ...
exec: /usr/local/bin/autom4te259: not found
Generating 'make' outputs ...
rebuilding rpm spec file
cd /usr/ports/devel/apr-svn/work/apr-util-1.2.2 ;  /bin/rm -fr xml/expat
cd /usr/ports/devel/apr-svn/work/apr-util-1.2.2 ;  /usr/bin/env 
SHELL=/bin/sh CONFIG_SHELL=/bin/sh PORTOBJFORMAT=elf MAKE=gmake 
PATH=/usr/local/libexec/automake19:/usr/local/libexec/autoconf259:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin 
ACLOCAL=/usr/local/bin/aclocal19 AUTOMAKE=/usr

Help building gcc41 with gcj from ports on FreeBSD 4.10

2006-02-27 Thread David Pratt
Can someone advise how to build gcc4.1 from ports with support for gcj. 
Typically a port only requires:


make
make install
make clean

What is needed to compile successfully with gcj support. Many thanks

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


Re: Help building gcc41 with gcj from ports on FreeBSD 4.10

2006-02-27 Thread David Pratt

Many thanks Dan. I'll give this a try.

Regards
David


Dan Nelson wrote:

In the last episode (Feb 27), David Pratt said:


Can someone advise how to build gcc4.1 from ports with support for
gcj.  Typically a port only requires:

make
make install
make clean

What is needed to compile successfully with gcj support. Many thanks



Comment out the WITHOUT_JAVA=yes line in the port Makefile, but be
aware that you may need more than 1GB of RAM to build it.


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


Re: Help building gcc41 with gcj from ports on FreeBSD 4.10

2006-02-27 Thread David Pratt

Hi. Well getting somewhere but it looks like another hitch.

Making GCC 4.1.0 for FreeBSD 4.10  target=i386-portbld-freebsd4.10
(with Java)
===  WARNING: Vulnerability database out of date, checking anyway
= gcc-java-4.1-20060217.tar.bz2 is not in /usr/ports/lang/gcc41/distinfo.
= Either /usr/ports/lang/gcc41/distinfo is out of date, or
= gcc-java-4.1-20060217.tar.bz2 is spelled incorrectly.
*** Error code 1

Stop in /usr/ports/lang/gcc41.

David Pratt wrote:

Many thanks Dan. I'll give this a try.

Regards
David


Dan Nelson wrote:


In the last episode (Feb 27), David Pratt said:


Can someone advise how to build gcc4.1 from ports with support for
gcj.  Typically a port only requires:

make
make install
make clean

What is needed to compile successfully with gcj support. Many thanks




Comment out the WITHOUT_JAVA=yes line in the port Makefile, but be
aware that you may need more than 1GB of RAM to build it.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[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: Help building gcc41 with gcj from ports on FreeBSD 4.10

2006-02-27 Thread David Pratt

Super, thanks Dan.

Regards
David

Dan Nelson wrote:

In the last episode (Feb 27), David Pratt said:


Hi. Well getting somewhere but it looks like another hitch.

Making GCC 4.1.0 for FreeBSD 4.10  target=i386-portbld-freebsd4.10
(with Java)
===  WARNING: Vulnerability database out of date, checking anyway
= gcc-java-4.1-20060217.tar.bz2 is not in /usr/ports/lang/gcc41/distinfo.
= Either /usr/ports/lang/gcc41/distinfo is out of date, or
= gcc-java-4.1-20060217.tar.bz2 is spelled incorrectly.
*** Error code 1

Stop in /usr/ports/lang/gcc41.



make makesum will regenerate the checksums in the distinfo file.


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


Getting current BSD version information

2006-02-26 Thread David Pratt
Is there a command to obtain ther current version of FreeBSD in use. I 
have a virtual server that the host upgrades from time to time so this 
information would be helpful.

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


Re: Getting current BSD version information

2006-02-26 Thread David Pratt

Joseph Vella wrote:

On Sunday 26 February 2006 1:32 pm, David Pratt wrote:

Is there a command to obtain ther current version of FreeBSD in use. I 
have a virtual server that the host upgrades from time to time so this 
information would be helpful.

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




uname -r



Thanks Joseph. Exactly what I was looking for.

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


Building an older version/port of SWIG

2006-02-26 Thread David Pratt
Hi. I am trying to build an older version of SWIG that the current 
version in ports. Current version on ports is 1.3.27 but I am needing to 
install 1.3.24 due to a problem with 1.3.27 with other software I will 
be compliling. It is possible to install an older port of swig like this 
with ports collection? I am on freeBSD 4.10.


I have just recently tried downloading SWIG-1.3.24 from the swig site 
and compiling it on its own with


./configure
make
make check
make install

but it stops ...

Installing /usr/local/share/swig/1.3.24/allegrocl/typemaps.i
Installing /usr/local/share/swig/1.3.24/allegrocl/allegrocl.swg
Installing language specific files for std
*** Error code 1

Are there specific parameters I need for FreeBSD for this to install 
successfully. I am wanting SWIG to wrap for python.


I would be happier with a port for sure but would be happy to get this 
to compile/install one way or the other.


Many thanks
David



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


Re: Building an older version/port of SWIG

2006-02-26 Thread David Pratt

Hi Danny. Got this to work. many thanks!
Regards,
David

Danny Pansters wrote:

On Monday 27 February 2006 01:20, David Pratt wrote:


Hi. I am trying to build an older version of SWIG that the current
version in ports. Current version on ports is 1.3.27 but I am needing to
install 1.3.24 due to a problem with 1.3.27 with other software I will
be compliling. It is possible to install an older port of swig like this
with ports collection? I am on freeBSD 4.10.

I have just recently tried downloading SWIG-1.3.24 from the swig site
and compiling it on its own with

./configure
make
make check
make install

but it stops ...

Installing /usr/local/share/swig/1.3.24/allegrocl/typemaps.i
Installing /usr/local/share/swig/1.3.24/allegrocl/allegrocl.swg
Installing language specific files for std
*** Error code 1

Are there specific parameters I need for FreeBSD for this to install
successfully. I am wanting SWIG to wrap for python.

I would be happier with a port for sure but would be happy to get this
to compile/install one way or the other.



Try using the port but for the older version: Change the version in Makefile 
and run 'make makesum' to change the checksums (and download the tarball, or 
copy it to /usr/ports/distfiles before this, as you already have it). It may 
work. You'll be setting yourself up with a nasty upgrading path to begin with 
though.



HTH,

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


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


Upgrade python from ports

2005-07-19 Thread David Pratt
I am relatively new to ports.  When I type pkg_info, this is what I 
have for python:


py23-MySQLdb-1.2.0_1 Access a MySQL database through Python
py23-mx-base-2.0.5  The eGenix mx-Extension Series for Python
py23-reportlab-1.19 Library to create PDF documents using the Python 
language

py23-xml-0.8.4  PyXML: Python XML library enhancements
py24-statgrab-0.3   A set of Python bindings for libstatgrab
python-2.3.4_4  An interpreted object-oriented programming language
python-2.4_1An interpreted object-oriented programming language

I want to upgrade my python from 2.3.4 to 2.3.5. To I deinstall all 
py23 ports and python-2.3.4_4 and reinstall or do I run an portupgrade 
somewhere that will take care of this or do I just install python-2.3.5


In my /usr/local/lib:

I have:
python2.3
python2.4

What is right approach to updating only my python 2.3 so that it will 
be right for all py23.  I don't want to have two separate versions of 
2.3 only update version to 2.3.5


Many thanks
David


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


Re: Max files in unix folder from PIL process

2005-03-28 Thread David Pratt
Hi.  I am creating a python application that uses PIL to generate 
thumbnails and sized images. It is beginning to look the volume of 
images will be large. This has got me to thinking.  Is there a number 
that Unix can handle in a single directory. I am using FreeBSD4.x at 
the moment. I am thinking the number could be as high 500,000 images in 
a single directory but more likely in the range of 6,000 to 30,000 for 
most. I did not want to store these in Postgres.  I will most likely to 
break these into directories by size ie. thumbnail, small, medium, 
large, etc. .  That will at least take it down by a factor of the 
number of sizes used but still the possibility of a very large number 
(maximum to perhaps 100,000 or more) There is really no other way that 
I can think of to categorize these at  the moment.   Should this pose a 
problem on the filesystem?  How will it affect the use of Unix tools?  
Will there be access problems that affect speed? This is unchartered 
territory for me so hope someone who has been there, done that can 
provide some of what they learned from experience.  Many thanks.

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


Re: Max files in unix folder from PIL process

2005-03-28 Thread David Pratt
Hi Corey.  Thank you for your reply. 800K is pretty significant.  Yes, 
the reason I want to use the filesystem is to avoid the speed problems 
that come from storing images in the database. I can see there really 
being no limit when it comes to spreading the numbers thinner but most 
concerned about so many in a single directory.  References to the 
images will come from the database.  Do you don't think I should have 
any problem with 150 - 175 K in a single directory - no subdirectories 
- (just 175K jpg image files of a particular size)?  I guess you 
definitely don't want to do an ls.  Would that crap out the server?

Regards,
David
On Monday, March 28, 2005, at 09:44 PM, Corey Brune wrote:
I've had apps that had over 800k subdirectories and files. As long as
you know the filename, performance will not be an issue. However, if
you don't know the full path, then you may want to either redesign the
app or consider storing everything in the DB. The apps that I've seen
had the full path stored in the database, and the image on a file
server.
I've also had apps that stored everything in the database, and that
turned out to be a nightmare. Eventually, we moved everything from the
DB to the filesystem.
Corey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

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


DNS on LAN

2004-03-11 Thread David Pratt
Hi. I have just set up a small LAN.  I am using an old pentium computer 
as a firewall using IPCop (192.168.1.1) as a gateway to the web.  It 
uses a dynamic IP from my ISP so all the machines have web access.  I 
have 3 other machines behind the firewall.  I have set up a FreeBSD 4.9 
server (192.168.1.2) that I want to use to develop and test my PHP and 
Python applications.  The other machines (a Mac and Windows machine) 
obtain their IP between 192.168.200 - 192.168.250.  I have a domain 
name registered that is currently pointing to a host that I am using 
for my live site.

So question is how to use my domain name behind my firewall in my LAN 
with my server for  development. I don't know how to do this. I want to 
be able to get my server on my browser something like this: 
server01.mydomain.com. ( mydomain substituted for my actual domain)

I have read the DNS chapter in the FreeBSD book but I am just as 
confused as ever in what I need to do to achieve this.  I have named my 
server the following:  server01  and in my original configuration when 
I installed FreeBSD provided a fully qualified name of 
server01.mydomain.com  (mydomain substituted for my actual domain).

my hostname file currently looks like this:

::1 localhost
127.0.0.1   localhost
192.168.1.2 server01  server01.mydomain.com
when I type hostname at command line I get server01.mydomain.com

I have this line in my rc.conf  file from the original installation:

hostname=server01.mydomain.com

Any help greatly appreciated.

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