tinyos / nesc

Master nesc repository
GNU General Public License v2.0
100 stars 53 forks source link

Couldn't compile 1.3.5 or current git on current arch linux #24

Closed andrasbiro closed 10 years ago

andrasbiro commented 10 years ago

What I did: ./Bootstrap ./configure --prefix=/usr make

Error log: http://pastebin.com/psbQAM44 configure gives a warning, I don't know it it's related or not: config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting

Versions: gcc (GCC) 4.8.2 20140206 (prerelease) bison (GNU Bison) 3.0.2 flex 2.5.38 autoconf (GNU Autoconf) 2.69 automake (GNU automake) 1.14.1

1.3.4 compiles fine, but it doesn't have bootstrap script.

ppannuto commented 10 years ago

This is actually the same problem as Issue #12. Somewhere along the line when emacs updated it broke things. I tried to fix this a few months back, but my emacs / lisp knowledge was insufficient.

bradjc commented 10 years ago

Using on older version of emacs will let it compile. Ideally the tarball should include the files that emacs generates and one only has to do that step when compiling from github source. On Feb 28, 2014 10:58 AM, "Pat Pannuto" notifications@github.com wrote:

This is actually the same problem as Issue #12https://github.com/tinyos/nesc/issues/12. Somewhere along the line when emacs updated it broke things. I tried to fix this a few months back, but my emacs / lisp knowledge was insufficient.

— Reply to this email directly or view it on GitHubhttps://github.com/tinyos/nesc/issues/24#issuecomment-36376933 .

bradjc commented 10 years ago

The tarball from sourceforge (nesc-1.3.5.tar.gz) should be added to the 1.3.5 release on github. That tarball has the bootstrap and the emacs steps completed, making it much easier to build.

andrasbiro commented 10 years ago

Agreed. I uploaded the tarball to the Stanford repo: http://tinyos.stanford.edu/tinyos/dists/source/nesc-1.3.5.tar.gz I also updated the arch linux PKGBUILD at aur with the tarball from SF.

dgay42 commented 10 years ago

Fixed by https://github.com/tinyos/nesc/commit/da4a54897562f030dc9dfcd7f9942f6a9e79785e