Code Monkey home page Code Monkey logo

Comments (10)

fmitha avatar fmitha commented on May 31, 2024

Food for thought - can Boost Build generate tarballs?
I have only found this - http://lists.boost.org/boost-build/2009/08/22270.php

from clasp.

fmitha avatar fmitha commented on May 31, 2024

Ok, here are instructions on testing the debian packaging, which is currently still mostly broken.

  1. Clone the main clasp repos from Github. I.e.
    git clone git://github.com/drmeister/clasp
  1. cd into that directory
     cd clasp

Clone into that directory.

     hg clone http://bitbucket.org/faheem/clasp-debian debian
  1. Run the following command.
     ./debian/rules get-orig-source
  1. Go up one level, and cd into clasp-0.1
    cd ..; cd clasp-0.1
  1. Install the build dependencies given in debian/control.
    sudo apt-get install ...
  1. Run the debian build command debuild. Note that this creates a log by default
    debuild -uc -us

Post questions etc to this issue.

from clasp.

fmitha avatar fmitha commented on May 31, 2024

My current blocker is #17

from clasp.

fmitha avatar fmitha commented on May 31, 2024

The workaround suggested by Edward for #17 worked.

The build is currently erroring out at
https://gist.github.com/765eaf4ce13915215882

The problem is that I'm putting the build under tmp. I.e.

jessiechroot)faheem@orwell:/usr/local/src/clasp/clasp/tmp$ ls  
Contents  bin

So, the build is looking in the wrong place for this. I have the setting:

export CLASP_BUILD_TARGET_DIR=$(ROOT_DIR)/tmp

where ROOT_DIR is the top level of the source code repos.
That's the only place I have configured it.

Actually, this might be a good time to figure out where to install the files in the system. I'll need this information to construct the deb package.

from clasp.

drmeister avatar drmeister commented on May 31, 2024

The CLASP_BUILD_TARGET_DIR must have the last directory name be "clasp".
export CLASP_BUILD_TARGET_DIR=$(ROOT_DIR)/tmp doesn't end in "clasp" and will not work
export CLASP_BUILD_TARGET_DIR=$(ROOT_DIR)/tmp/clasp does end in "clasp" and will work.

This is because when Clasp starts up, it uses the path of the executable to identify directories in the Clasp target directory. It expects the directory above where he executable is found to be named "clasp".

Also, the build log is very long. You could remove the "-v" option from your local.config file to make it more concise.

from clasp.

fmitha avatar fmitha commented on May 31, 2024

I now have a working deb, There is still the following problem with the deb: The deb sets up a symlink to
the actual executable.

$ ls -lah /usr/bin/clasp-boehm 
lrwxrwxrwx 1 root root 30 Oct 13 05:28 /usr/bin/clasp-boehm -> ../lib/clasp/bin/clasp_boehm_o

but calling the symlink gives the following error.

$ rlwrap clasp-boehm   

Could not find the root directory of the cando application bundle.
 It must contain the word "clasp".

../../src/core/foundation.cc:285 dbg_hook(...) was called
rlwrap: warning: clasp-boehm crashed, killed by SIGSEGV.
rlwrap itself has not crashed, but for transparency,
it will now kill itself (without dumping core) with the same signal

warnings can be silenced by the --no-warnings (-n) option
Segmentation fault

However, calling the binary executable directly works.

(jessiechroot)faheem@orwell:~$ rlwrap /usr/lib/clasp/bin/clasp_boehm_o 
Starting Clasp 0.1... loading image... it takes a few seconds
Could not find pathname: /home/faheem/.clasprc
Top level.

Hopefully this will be fixed soon.

from clasp.

fmitha avatar fmitha commented on May 31, 2024

After increasing swap to 8gb (from 4gb), I just built the mps version successfully. I now have a complete build.

This machine has 16gb RAM and now 8gb swap.

from clasp.

raould avatar raould commented on May 31, 2024

Thank you for all your hard work! Is this something that is releasable to dummies like me who are sucker enough to try it out on their own local machine? ;-)

from clasp.

fmitha avatar fmitha commented on May 31, 2024

On Wed, 15 Apr 2015, Raoul Duke wrote:

Thank you for all your hard work! Is this something that is releasable
to dummies like me who are sucker enough to try it out on their own
local machine? ;-)

Hi,

This version of the Debian packaging was for an old and probably out of
date version of Clasp. I don't think building the packaging itself would
be a problem, but you might want to ask Chris when he is going to be
releasing the next version, because the packaging will need to be changed
for that version. As you are probably aware, Clasp is still changing fast.

                                                      Regards, Faheem


Reply to this email directly or view it on GitHub.[ACcHR9ksltNndcnDYqK1y0HHHasAeWbBks5n_pPigaJpZM4Csl-S.gif]

from clasp.

Shinmera avatar Shinmera commented on May 31, 2024

Given Clasp's instability, frequent changes and updates, heavy dependencies, and general bulkiness I think it's still premature to include it in any distributions. We can reopen this once things have levelled out.

from clasp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.