DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th January 2015
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default cannot build Maxima

Code:
~/test/maxima $ ./bootstrap 
+ aclocal
Provide an AUTOMAKE_VERSION environment variable, please
+ automake --add-missing --copy
Provide an AUTOMAKE_VERSION environment variable, please
+ autoconf
Provide an AUTOCONF_VERSION environment variable, please

~/test/maxima $ AUTOMAKE_VERSION=1.9.6 AUTOCONF_VERSION=2.69 ./bootstrap
+ aclocal
/usr/local/bin/aclocal[35]: /usr/local/bin/aclocal-1.9.6: not found
+ automake --add-missing --copy
/usr/local/bin/automake[35]: /usr/local/bin/automake-1.9.6: not found
+ autoconf

$cat bootstrap 
#!/bin/sh
set -x
aclocal
automake --add-missing --copy
autoconf

$pkg_info -A|grep -i auto
autoconf-2.69p1     automatically configure source code on many Un*x platforms
metaauto-1.0p1      wrapper for gnu auto*

$ pkg_info -E /usr/local/bin/aclocal 
/usr/local/bin/aclocal: metaauto-1.0p1
metaauto-1.0p1      wrapper for gnu auto*
then i manually `cp` to create the required files
Code:
$ls /usr/local/bin/auto*
/usr/local/bin/autoconf         /usr/local/bin/automake-1.9.6
/usr/local/bin/autoconf-2.69
...
but `AUTOMAKE_VERSION=1.9.6 AUTOCONF_VERSION=2.69 ./bootstrap` will run forever without return.

regards!
Reply With Quote
  #2   (View Single Post)  
Old 24th January 2015
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Quote:
Originally Posted by sw2wolf View Post
but `AUTOMAKE_VERSION=1.9.6 AUTOCONF_VERSION=2.69 ./bootstrap` will run forever without return.
AUTOMAKE_VERSION=1.9

However, this version is usually superior:
Code:
$ AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.9 autoreconf -i
Reply With Quote
  #3   (View Single Post)  
Old 24th January 2015
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

Code:
AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.9 autoreconf -i
still doesnot return.

Regards!

Last edited by sw2wolf; 24th January 2015 at 03:12 AM.
Reply With Quote
  #4   (View Single Post)  
Old 24th January 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Wouldn't # pkg_add maxima be easier? OpenBSD has had math/maxima since 2003.
Reply With Quote
  #5   (View Single Post)  
Old 24th January 2015
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

Quote:
Originally Posted by jggimi View Post
Wouldn't # pkg_add maxima be easier? OpenBSD has had math/maxima since 2003.
There is maxima-5.29.1, but i want to keep updated with its git version.
Reply With Quote
  #6   (View Single Post)  
Old 24th January 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Then here is a suggestion, for this application or any other which has already been ported:

Adapt the existing port!
  • The hard work of managing dependencies, odd tree structures, and wacky build/install scripts will have already been done for you. (You will only need to adapt updates to these.)
  • You will be able to provide the port's $MAINTAINER with a revision for consideration, and it is possible your port update (or components of it) will be adopted into the ports tree, so that others can use it.
  • You will also lean how to use the ports infrastructure, and be able to become a port developer / maintainer yourself.
See FAQ 15, and in particular FAQ 15.6, the Port Testing Guide, and the Porter's Handbook.
Reply With Quote
  #7   (View Single Post)  
Old 24th January 2015
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

After ` pkg_add automake-1.14` and `AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.14 ./bootstrap` works like a charm.

thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What will build? fn8t NetBSD Package System (pkgsrc) 3 7th July 2014 07:35 PM
Ports don't build Brainfsck FreeBSD Ports and Packages 3 20th September 2011 05:47 PM
How to build kismet without X? thefronny OpenBSD Packages and Ports 4 12th March 2011 08:07 PM
Lisp can't build %.el Mr-Biscuit Programming 3 29th January 2011 06:46 PM
Do you build your own computers? JMJ_coder Off-Topic 28 28th July 2008 03:04 AM


All times are GMT. The time now is 09:48 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick