On Dec 10, 2007 2:13 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I hope this is the right place to summit a bug report, I could not
> find a link on the sage web page.
>
> I just downloaded version 2.8.15 and tried to run notebook() and dyld
> is unable to load libintl.3.dylib.  I don't have a libintl.3.dylib in /
> usr/local/lib and I didn't find it in $SAGE_ROOT/local/lib.
>
> Is there a workaround?

Yes, put the libintl3.dylib from

   http://sagemath.org/SAGEbin/apple_osx/intel/10.4-extra_files/

in SAGE_ROOT/local/lib/

I'll update the binary to contain that.

William

>
> Thanks
> -john
>
> P.S.
>
> [jhayes sage-2.8.15-osx10.4-intel-i386-Darwin]$ ./sage
> ----------------------------------------------------------------------
> | SAGE Version 2.8.15, Release Date: 2007-12-03                      |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
>
> sage: notebook()
> The notebook files are stored in: /Users/jhayes/.sage//sage_notebook
>
>
>
> Please choose a new password for the SAGE Notebook 'admin' user.
> Do _not_ choose a stupid password, since anybody who could guess your
> password
> and connect to your machine could access or delete your files.
> NOTE: Only the md5 hash of the password you type is stored by SAGE.
> You can change your password by typing notebook(reset=True).
>
>
>
> Enter new password:
> Retype new password:
> Please login to the notebook with the username 'admin' and the above
> password.
> Password changed for user 'admin'.
> In order to use an SECURE encrypted notebook, you must first run
> notebook.setup().
> Now running notebook.setup()
> Using dsage certificates.
> Creating /Users/jhayes/.sage/dsage
> --------------------------------------------------
> Generating public/private key pair for authentication...
> Your key will be stored in /Users/jhayes/.sage/dsage/dsage_key
> Just hit enter when prompted for a passphrase
> --------------------------------------------------
> Enter passphrase (empty for no passphrase):
> Enter same passphrase again:
>
>
> Client configuration finished.
>
> Worker configuration finished.
>
> Choose a domain name for your SAGE notebook server,
> for example, localhost (personal use) or sea-eng-jhayes2.local (to
> allow outside connections).
> Domain name [localhost]:
> Using default localhost
> --------------------------------------------------
> Generating SSL certificate for server...
> Using certtool to generate key
> certtool --generate-privkey --outfile /Users/jhayes/.sage/dsage/
> cacert.pem
> dyld: Library not loaded: /usr/local/lib/libintl.3.dylib
>   Referenced from: /Users/jhayes/Desktop/sage-2.8.15-osx10.4-intel-
> i386-Darwin/local/bin/certtool
>   Reason: image not found
> dyld: Library not loaded: /usr/local/lib/libintl.3.dylib
>   Referenced from: /Users/jhayes/Desktop/sage-2.8.15-osx10.4-intel-
> i386-Darwin/local/bin/certtool
>   Reason: image not found
> --------------------------------------------------
> ---------------------------------------------------------------------------
> <type 'exceptions.OSError'>               Traceback (most recent call
> last)
>
> /Users/jhayes/.sage/<ipython console> in <module>()
>
> /Users/jhayes/Desktop/sage-2.8.15-osx10.4-intel-i386-Darwin/local/lib/
> python2.5/site-packages/sage/server/notebook/notebook_object.py in
> __call__(self, *args, **kwds)
>     135     """
>     136     def __call__(self, *args, **kwds):
> --> 137         return self.notebook(*args, **kwds)
>     138
>     139     notebook = run_notebook.notebook_twisted
>
> /Users/jhayes/Desktop/sage-2.8.15-osx10.4-intel-i386-Darwin/local/lib/
> python2.5/site-packages/sage/server/notebook/run_notebook.py in
> notebook_twisted(self, directory, port, address, port_tries, secure,
> reset, accounts, server_pool, ulimit, timeout, open_viewer,
> sagetex_path, start_path)
>     224     if open_viewer:
>     225         "Open viewer automatically isn't fully implemented.
> You have to manually open your web browser to the above URL."
> --> 226     run(port)
>     227
>     228     return True
>
> /Users/jhayes/Desktop/sage-2.8.15-osx10.4-intel-i386-Darwin/local/lib/
> python2.5/site-packages/sage/server/notebook/run_notebook.py in
> run(port)
>     129                 print "In order to use an SECURE encrypted
> notebook, you must first run notebook.setup()."
>     130                 print "Now running notebook.setup()"
> --> 131                 notebook_setup()
>     132             if not os.path.exists(private_pem) or not
> os.path.exists(public_pem):
>     133                 print "Failed to setup notebook.  Please try
> notebook.setup() again manually."
>
> /Users/jhayes/Desktop/sage-2.8.15-osx10.4-intel-i386-Darwin/local/lib/
> python2.5/site-packages/sage/server/notebook/run_notebook.py in
> notebook_setup(self)
>      37     dsage = os.path.join(DOT_SAGE, 'dsage')
>      38     import sage.dsage.all
> ---> 39     sage.dsage.all.dsage.setup()
>      40     shutil.copyfile(dsage + '/cacert.pem', private_pem)
>      41     shutil.copyfile(dsage + '/pubcert.pem', public_pem)
>
> /Users/jhayes/Desktop/sage-2.8.15-osx10.4-intel-i386-Darwin/local/lib/
> python2.5/site-packages/sage/dsage/dsage.py in setup(self, template)
>     262
>     263         from sage.dsage.scripts.dsage_setup import
> setup
> --> 264         setup(template=template)
>     265
>     266     def setup_server(self, *args):
>
> /Users/jhayes/Desktop/sage-2.8.15-osx10.4-intel-i386-Darwin/local/lib/
> python2.5/site-packages/sage/dsage/scripts/dsage_setup.py in
> setup(template)
>     191     setup_client()
>     192     setup_worker()
> --> 193     setup_server(template=template)
>     194     print "Configuration finished.."
>     195
>
> /Users/jhayes/Desktop/sage-2.8.15-osx10.4-intel-i386-Darwin/local/lib/
> python2.5/site-packages/sage/dsage/scripts/dsage_setup.py in
> setup_server(template)
>     157     subprocess.call(cmd, shell=True)
>     158     print DELIMITER
> --> 159     os.chmod(os.path.join(DSAGE_DIR, 'cacert.pem'), 0600)
>     160
>     161     # conf_file = os.path.join(DSAGE_DIR, 'server.conf')
>
> <type 'exceptions.OSError'>: [Errno 2] No such file or directory: '/
> Users/jhayes/.sage/dsage/cacert.pem'
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to