Comments (6)
Can you please include a description of the problem? This is mostly for
bookkeeping and records. URLs to patches isn't a great way to track and
maintain a codebase. Thanks!
Original comment by [email protected]
on 2 Mar 2011 at 11:21
from tinyos-main.
Sure, the problem is described in the comments.
The code in `tos-locate-jre` had hardcoded path
and the comments suggested that this should be
fixed eventually.
I have found that on the system which I got it's
not working becuase the symlinks are broken.
It is probably a buggy script from Apple that
is trying to symlink to the most current java
but it is somewhat broken the symlinks to 'jni.h'
and other headers.
I also fixed the spelling of proper JNI install
path and found that `uname -r` returns 10.6.0
instead of 10.6.6 (it is not certain whether
`uname -r` will return last zero for any OSX
release in the future) and therefore used an
Apple specific `sw_vers` command with a bit of
awk and sed.
The real headers turn out to be under /Developer/.
Still, in fact the JNI is being installed into
the --prefix= rather then the JNI path, btw.
Original comment by errordeveloper
on 2 Mar 2011 at 11:47
from tinyos-main.
Sure, the problem is described in the comments.
The code in `tos-locate-jre` had hardcoded path
and the comments suggested that this should be
fixed eventually.
I have found that on the system which I got it's
not working becuase the symlinks are broken.
It is probably a buggy script from Apple that
is trying to symlink to the most current java
but it is somewhat broken the symlinks to 'jni.h'
and other headers.
I also fixed the spelling of proper JNI install
path and found that `uname -r` returns 10.6.0
instead of 10.6.6 (it is not certain whether
`uname -r` will return last zero for any OSX
release in the future) and therefore used an
Apple specific `sw_vers` command with a bit of
awk and sed.
The real headers turn out to be under /Developer/.
Still, in fact the JNI is being installed into
the --prefix= rather then the JNI path, btw.
Original comment by errordeveloper
on 2 Mar 2011 at 11:49
from tinyos-main.
Pardon, I sent two emails by accedent, but
forgot to attach the patch itself.
This was output from git, so I am not sure
about this two lines:
--- a/tools/tinyos/misc/tos-locate-jre
+++ b/tools/tinyos/misc/tos-locate-jre
Original comment by errordeveloper
on 3 Mar 2011 at 12:31
from tinyos-main.
Original comment by [email protected]
on 9 Mar 2011 at 4:11
- Changed state: Started
from tinyos-main.
Applied the patch. Thanks!
Original comment by [email protected]
on 22 Mar 2011 at 9:01
- Changed state: Fixed
from tinyos-main.
Related Issues (20)
- [patch] UdpP scribbles to memory it should not. HOT 3
- [patch] IPPacketC uses error return value as offset, resulting in trashed memory HOT 3
- "Make safe" does not work with the CC2420 radio chip HOT 2
- Msp430Adc12ClientAutoRVGC does not release resource. HOT 2
- PowerCycleP__startRadio task in permanent re-post spin HOT 2
- Memory Leaks : When check out some unknow critical option Libcoap allocate memory but never free HOT 3
- TOSSIM PYTHON_VERSION on Ubuntu 11.04 x86_64 HOT 3
- Shimmer I2C with msp430-gcc v4.5.3 HOT 3
- Shimmer PowerSupplyMonitor with msp430-gcc v4.5.3 HOT 2
- msp430 code accessed with bit fields HOT 1
- tos-bsl broken for shimmer family HOT 6
- [patch] CoapUdpServer infinite loop HOT 4
- [patch] CoapUdpServer fails to include the client token in many cases HOT 3
- telosb CC2420X compile error with LPL app HOT 1
- [patch] Incorrect 6lowpan PAN handling HOT 4
- rfxlink TrafficMonitorLayerP time variable shadows global one when compiling with TOSSIM HOT 3
- [patch] RF212 frame receive doesn't always complete SPI transfer HOT 2
- [patch] Dhcp6Client fails to find Status options HOT 2
- [patch] Dhcp6Client issues IPAddress.setAddress() even on RENEW HOT 1
- [patch] Dhcp6Client waits unnecessarily long between ADVERTISE and REQUEST
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyos-main.