Intel Fortran compiler - ifortbin: No such file or.. [solved]
Dear all!
I am running arch64 with updated packages (I updated this morning). I am trying to install the intel fortran compiler. I took the "ifort" PKGBUILD file from AUR and I edited it to use the "em64t" packages instead of the "i386" packages. The package building and the installation went fine, but when I launch ifort, I get the following error:
/opt/intel/fc/9.1.036/bin/ifort: line 42: /opt/intel/fc/9.1.036/bin/ifortbin: No such file or directory
/opt/intel/fc/9.1.036/bin/ifort: line 42: /opt/intel/fc/9.1.036/bin/ifortbin: Success
Instead, I should get a message saying that I gave no input files (I had the compiler working on Suse, that's how I know).
Does anyone know why this is happening?
Thanks for your help
Valerio
Last edited by valmar (2007-04-03 16:41:08)
Thank to all those who looked at the thread. It seems that even if you install a 64 bit version on a 64 bit machine, you still have to have the following packages installed:
lib32-glibc lib32-gcc.
Which means that the 64 bit compiler is actually designed to run in a mixed system, and not a pure 64 bit system... very bizarre
Valerio
Similar Messages
-
Intel Fortran compiler broken under Mavericks
After upgrading to OS 9 on a Mac Pro and a MacBook Pro, and installing Xcode 5.0.1 on both, my Intel Fortran compiler (vs 12.0.5) no longer works. I have updated the command line tools. When I try compiling a source file it fails with the message:
ifort: error #10001: could not find directory in which g++ resides
There is a compiler option to specify the location of g++ "-gxx-name=" but this doesn't help - same error message. I'm not sure if I need to set a system variable or if I need to go back to an earlier version of Xcode. Has anyone managed to get their Intel Fortran compiler working under Mavericks?I haven't found this topic in the other Categories, so I'll reply here:
I'm having the same problem!!! Leopard has crashed ifort 32 bits! So I can't run my programs on my macbook core duo (32 bits), although it's ok with the ifort 64 bits version. But I really REALLY need the 32 version working on Leopard. Anyone has any clue about how to solve it? I've tried some 9.1 ifort's versions and the new 10.1 version. You can find evaluation versions on the intel's site.
Please someone help us.
Thanks,
Filipe -
Leopard broke Intel Fortran Compiler, both ver9 and 10
Intel Fortran Compiler for Mac OS X Ver 9.1 and 10.0 is broken under Leopard. It can compile code, but the created executable segfaults with messages like these.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
read.out 0005B601 Unknown Unknown Unknown
read.out 0005AAA3 Unknown Unknown Unknown
read.out 00031A4A Unknown Unknown Unknown
read.out 0000F664 Unknown Unknown Unknown
read.out 00015FDE Unknown Unknown Unknown
libSystem.B.dylib 94BF997B Unknown Unknown Unknown
The program can be as easy as:
parameter(ilon=144,ilat=73,igrid=ilon*ilat)
parameter(iday=365)
real*4 :: data(igrid), ave(igrid)
open(10,file='u.bin',form='unformatted',access='direct',recl=igrid*4)
open(11,file='u-daily.bin',form='unformatted',access='direct',recl=igrid*4)
do it = 1, 365
write(6,*) it
read(10,rec=it) data
ave = ave + data
end do
ave = ave / 365
write(11,rec=1) ave
stop
end
The program crashes at line 9 or 11 where vectorization comes into place.
I went to the Intel homepage, and they acknowledge this as a problem but they are only willing to update IFC ver10 and leave the users of ver9 in the cold.
Does anyone have a solution to this?
(At least I will leave this message up so that hopefully someone at Apple will notice.)I haven't found this topic in the other Categories, so I'll reply here:
I'm having the same problem!!! Leopard has crashed ifort 32 bits! So I can't run my programs on my macbook core duo (32 bits), although it's ok with the ifort 64 bits version. But I really REALLY need the 32 version working on Leopard. Anyone has any clue about how to solve it? I've tried some 9.1 ifort's versions and the new 10.1 version. You can find evaluation versions on the intel's site.
Please someone help us.
Thanks,
Filipe -
[SOLVED] Intel Fortran Compiler v11.1.072 installation failed
hi everyone!
i have some problems with the intel fortran installation. i try to install both ia32 and intel64 version, but without success. i launch from the shell the file "install.sh" and i follow the instructions on the screen, it says that i have missing optional pre-requisites, but also in other linux distribution such as ubuntu or debian, i always skip missing optional pre-requisites and go on. so i do that, but in the step no. 6 when the installation begins, there are a lot of errors:
Installing Intel(R) Fortran Compiler for applications running on IA-32
component...
Intel(R) Fortran Compiler for applications running on IA-32 component
installation failed.
Installing Intel(R) Math Kernel Library for applications running on IA-32
component...
Intel(R) Math Kernel Library for applications running on IA-32 component
installation failed.
what happens?
thanks all for your replies, i'm here for other infos if you want.
Last edited by zeruel85 (2010-06-28 07:56:26)ok, i solved the problem, but with another ifort version. first of all, install these required packages:
sudo pacman -S glibc libstdc++5
then download from aur the package "intel-compilers-common 11.0.074-2" and extract it. now:
cd /PATH/intel-compilers-common
makepkg
sudo pacman -U intel-compilers-common-11.0.074-2-x86_64.pkg.tar.xz
always from aur, download "ifort" and extract it. before compiling it, copy the file "l_cprof_p_11.0.074_intel64.tgz" from the "intel-compilers-common" folder into the "ifort" folder. now we must have the license file. we can get it from the official intel site:
https://registrationcenter.intel.com/Re … NCOM&lang=
just insert your email, select your country and click "Continue". we'll receive an email with the license key attached. now copy the file into the "ifort" folder. open a shell and do this:
cd /PATH/ifort
md5sum LICENSE.lic
where "LICENSE.lic" is the name of your license key. after that, we have to modify the "PKGBUILD" file, always into the "ifort" folder. in line 19, write the correct license file name. in line 24 write the correct md5sum result. save and exit. now we can compile:
cd /PATH/ifort
makepkg
sudo pacman -U ifort-11.0.074-2-x86_64.pkg.tar.xz
now we have ifort installed! just logout/login to complete the installation! then type:
ifort -help
to verify if ifort was correctly installed. if the ifort guide appears, well done! -
Compile fail under linux ! oci.h: No such file or directory
I want to transplant an Win32 OCI program to Linux.When i compile the program under Linux, the gcc returns the error information 'oci.h: No such file or directory '.
Where can i find the OCI libs and includes under Linux/Unix?and I suggest you should use $ORACLE_HOME/rdbms/demo/demo_rdbms.mk to build oci applications. Instructions are there in the same file.
-
Compilation errors- sbfocus exec failed: No such file...
Please help, as I am geting these errors when I am compiling my test program using make file.
I am using SUN SPARC server with Forte Compiler Collection 7 on new server.
I am moving my HP C++ code on this new server.
I have created my string, util and ipc libraries using ar - ruv command. all the libraries are created OK (means no errors) and named them as libstring.a etc.
CC -g -sb -compat=5 -compat=4 -I. -I/ford/thishost/u/rbhave/mqrouter/include -c test.C
/opt/SUNWspro/bin/CC test.o -L/ford/thishost/u/rbhave/mqrouter/lib -L. -lutils -lipc -lstring
libldstab: file test.o: sbfocus exec failed: No such file or directory: SourceBrowser data will be lost
Undefined first referenced
symbol in file
unsafe_ostream::do_opfx(void) /ford/thishost/u/rbhave/mqrouter/lib/libstring.a(strops.o)
cout test.o
unsafe_ostream::do_opfx(void) /ford/thishost/u/rbhave/mqrouter/lib/libstring.a(strops.o)
ld: fatal: Symbol referencing errors. No output written to a.out
*** Error code 1
make: Fatal error: Command failed for target `/ford/thishost/u/rbhave/mqrouter/error_log/test'
Thanks in advance.
RaviYou usually cannot mix -compat=4 and -compat=5 code in the same program. The C++ Migration Guide(search on docs.sun.com) that comes with the compiler explains the limitations.
When building a C++ static (.a) library, you should use
CC -xar
instead of
ar
so that any required template instances get included in the library.
The warning message about sb probably means that the -sb or -xsb option was not used consistently. Use it when compiling and when linking, or not at all. (You don't have to use it on all compilations, but you'll be missing some symbol data.)
- Rose -
Error when compiling: "asm/errno.h: No such file or directory"
Ok, so I've got this error while compiling some app written in C:
In file included from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from /usr/include/python2.6/Python.h:40,
from config.c:18:
/usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
make: *** [config.o] Error 1
I've tried to google it, people said I needed to make some symlinks, but it didn't work. I've also tried update (pacman -Syu), but that didn't help as well. Do you have any solutions?
ThanksThanks,
I was searching for a soltion like GCC Path and something with include or something but this worked instead..:) -
Compile error during make: ansidecl.h: No such file or directory
Hi - I was trying to make a ruby app and I ran into the following error which seems to have originated in gcc. I can't seem to find much about it on Google, would very much appreciate some help with how to get to the bottom of this, thanks!:
checking for main() in -liberty... no
creating Makefile
In file included from dirfibheap.h:5,
from dirfibheap.c:2:
*fibheap.h:44:22: error: ansidecl.h: No such file or directory*
make: * \[dirfibheap.o] Error 1
gcc -fno-common -g -Os -pipe -fno-common -pipe -fno-common -pipe -fno-common -I. -I/usr/lib/ruby/1.8/universal-darwin8.0 -I/usr/lib/ruby/1.8/universal-darwin8.0 -I. -c dirfibheap.cApple's gcc doesn't come with this file. It is unlikely that simply getting a version of the file will work. My guess is that you would have to either install an alternative version of gcc which includes it or edit the source code of the app you're compiling to avoid it. Whether either of these would work, I can't say. Obviously this application is not ported to or supported on Mac OS X (if it is meant to be, report the bug). That means there are likely other issues which will crop up if you sort this one. I don't say this to put you off but only as a warning. (This may be superfluous and you may know all this very well. If so, my apologies.)
What are you trying to compile? Have you tried the forums for the application? Has anybody else compiled it for OS X? Have you seen if Fink or Mac Ports have it?
- cfr -
Mistery around Intel Fortran/C compilers and my Macbook
Hi all,
First post here. I do not want to write a long post here but I really need some enlightenment about a strange problem.
My Macbook came with Tiger and Xcode 2.4. Being a Fortran programmer, I installed Intel compilers without much hassle. Then Leopard arrived but I decided to not upgrade until receiving the green light from Intel (for months their compilers were broken for first-time Leopard users). A few months back most of issues seemed to be gone (I successfully installed the new compilers on 3 Mac Pros and 1 Intel iMac) and I was able to upgrade my Macbook to Leopard and the new compilers.
Here starts the drama : last week I had to upgrade my hard drive so I backup everything and did a clean Leopard install on a new and bigger HD (Hitachi 200Gb 7200rpm). Everything went fine except the fortran/C compilers. The error message I get is unique (try Google) :
ifort: error fatalerrorterminated: Fatal error in /opt/intel/fc/10.1.014/bin/ifortia32, terminated by segmentation violation
(I got similar message if I setup 64 bit compiler)
I can not compile anything. Even a simple hello.f. I even update to 10.5.4 but nothing changed. In fact, it was so frustrating that I decided to do another clean install of Tiger. Yes, I downgraded Mac OSX to 10.4, downloaded the old Fortran compiler (the one I had) and guess what ? I got the SAME message.
I triple checked my shell environment, looked over all libraries but nothing seems wrong. The ONLY thing that caught my attention was during the installation, when I selected to format the new disk using HFS+ journaled (non case sensitive). I do not believe that my old original drive had a case sensitive system but I did not checked it.
If you can help, it would be very much appreciated !Here is the crash log file I am getting :
Process: ifortia32 [441]
Path: /opt/intel/fc/10.1.007/bin/ifortia32
Identifier: ifortia32
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: ifortbin [440]
Date/Time: 2008-07-14 10:04:53.262 -0500
OS Version: Mac OS X 10.5 (9A581)
Report Version: 6
Exception Type: EXCBADACCESS (SIGSEGV)
Exception Codes: KERNINVALIDADDRESS at 0x000000002820659e
Crashed Thread: 0
Thread 0 Crashed:
0 ifortia32 0x0006ccf4 lmaster_listlfp + 297
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x28206572 ebx: 0x00068cfe ecx: 0x282065a2 edx: 0x00000002
edi: 0x0080eed3 esi: 0x00000000 ebp: 0xbfffbfd8 esp: 0xbfffaf80
ss: 0x0000001f efl: 0x00010202 eip: 0x0006ccf4 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x2820659e
Binary Images:
0x1000 - 0x1ddfe2 +ifortia32 ??? (???) /opt/intel/fc/10.1.007/bin/ifortia32
0x266000 - 0x266ffd libmx.A.dylib ??? (???) /usr/lib/libmx.A.dylib
0x8fe00000 - 0x8fe2d883 dyld 95.3 (???) <81592e798780564b5d46b988f7ee1a6a> /usr/lib/dyld
0x90003000 - 0x90011ffd libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
0x90655000 - 0x9067ffef libauto.dylib ??? (???) <d468bc4a8a69343f1748c293db1b57fb> /usr/lib/libauto.dylib
0x906da000 - 0x906e1fe9 libgcc_s.1.dylib ??? (???) <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0x92edd000 - 0x92edefef libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x94211000 - 0x94349ff7 libicucore.A.dylib ??? (???) <afcea652ff2ec36885b2c81c57d06d4c> /usr/lib/libicucore.A.dylib
0x948f6000 - 0x9497ffff com.apple.framework.IOKit 1.5.0 (???) <5d9b85c55183f9732eb9efc38d18ba53> /System/Library/Frameworks/IOKit.framework/Versi
ons/A/IOKit
0x94e11000 - 0x94ef0fff libobjc.A.dylib ??? (???) <5eda47fec2d0e7853b3506aa1fd2dafa> /usr/lib/libobjc.A.dylib
0x95559000 - 0x956b3fe3 libSystem.B.dylib ??? (???) <8ecc83dc0399be3946f7a46e88cf4bbb> /usr/lib/libSystem.B.dylib
0x95f4b000 - 0x95fa8ffb libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x966c2000 - 0x967f4fe7 com.apple.CoreFoundation 6.5 (476) <8bfebc0dbad6fc33bea0fa00a1b9ec37> /System/Library/Frameworks/CoreFoundation.framework
/Versions/A/CoreFoundation
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib -
Here is an install log:
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for a BSD-compatible install... /bin/install -c
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether gcc and cc understand -c and -o together... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.19... yes
checking for fopencookie... yes
checking for funopen... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for snd_pcm_open in -lasound... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for sys/stat.h... (cached) yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking for alsa/asoundlib.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for sys/mount.h... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for calloc... yes
checking for malloc... yes
checking for free... yes
checking for popen... yes
checking for sysinfo... yes
checking for getloadavg... yes
checking for memrchr... yes
checking for strndup... yes
checking for gethostbyname_r... yes
checking for library containing clock_gettime... -lrt
checking for struct statfs.f_fstypename... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for db2x_xsltproc... no
checking for db2x_manxml... no
checking for xsltproc... no
checking if /usr/bin/ld accepts -O1... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/build.h
config.status: creating lua/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
conky 1.7.2 configured successfully:
Installing into: /usr
System config dir: /etc
C compiler flags: -Wall -W
Libraries: -lm -lasound -lrt
Linker flags: -Wl,-O1
* X11:
X11 support: no
XDamage support: no
XDBE support: no
Xft support: no
* Music detection:
Audacious: no
BMPx: no
MPD: yes
MOC: yes
XMMS2: no
* General:
OpenMP:
math: yes
hddtemp: no
portmon: no
RSS: no
Curl: no
Weather
METAR: no
XOAP: no
wireless: no
IBM: no
nvidia: no
eve-online: no
config-output: yes
Imlib2: no
ALSA mixer: yes
apcupsd: yes
I/O stats: yes
* Lua (no) bindings:
Cairo: no
Imlib2: no
Making all in src
/bin/sh: line 17: cd: src: No such file or directory
make: *** [all-recursive] Error 1
A couple of months ago I stumbled upon this problem, but handfixed all entrances in Makefiles recursively, changing explicitly '/bin/sh' on '/bin/bash' (although, /bin/sh is a link on /bin/bash). Now I had do deploy archlinux on another machine and here's the problem, again.
Last edited by cra (2009-10-27 12:43:53)Ok, I rm'ed the src and pkg subdirectories for package cairo-lcd, here's what I have:
(Actually, no specific options for makepkg)
[cra@cratop 07:47:47 ~/downloads/cairo-lcd]
$ ls
PKGBUILD cairo-1.8.8.tar.gz lcd-filter.patch
[cra@cratop 07:48:46 ~/downloads/cairo-lcd]
$ makepkg
==> Making package: cairo-lcd 1.8.8-1 i686 (Wed Oct 21 07:48:50 MSD 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found cairo-1.8.8.tar.gz in build dir
-> Found lcd-filter.patch in build dir
==> Validating source files with md5sums...
cairo-1.8.8.tar.gz ... Passed
lcd-filter.patch ... Passed
==> Extracting Sources...
-> bsdtar -x -f "cairo-1.8.8.tar.gz"
==> Entering fakeroot environment...
==> Starting build()...
patching file doc/public/cairo-sections.txt
Hunk #1 succeeded at 326 (offset 7 lines).
patching file src/cairo-font-options.c
patching file src/cairo-ft-font.c
Hunk #2 succeeded at 742 (offset 3 lines).
Hunk #3 succeeded at 1034 (offset 3 lines).
Hunk #4 succeeded at 1091 (offset 3 lines).
Hunk #5 succeeded at 1103 (offset 3 lines).
Hunk #6 succeeded at 1124 (offset 3 lines).
Hunk #7 succeeded at 1162 (offset 3 lines).
Hunk #8 succeeded at 1225 (offset 3 lines).
Hunk #9 succeeded at 1252 (offset 3 lines).
Hunk #10 succeeded at 1500 (offset 3 lines).
Hunk #11 succeeded at 1542 (offset 3 lines).
Hunk #12 succeeded at 1578 (offset 3 lines).
Hunk #13 succeeded at 1697 (offset 3 lines).
Hunk #14 succeeded at 1726 (offset 3 lines).
Hunk #15 succeeded at 2695 (offset 25 lines).
patching file src/cairo-types-private.h
Hunk #1 succeeded at 116 (offset 8 lines).
patching file src/cairo-xlib-screen.c
Hunk #1 succeeded at 143 with fuzz 1 (offset 11 lines).
Hunk #2 succeeded at 159 (offset 11 lines).
Hunk #3 succeeded at 257 (offset 11 lines).
Hunk #4 succeeded at 287 (offset 11 lines).
patching file src/cairo.h
Hunk #1 succeeded at 1046 (offset 78 lines).
Hunk #2 succeeded at 1171 (offset 78 lines).
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for bash... /bin/bash
checking if dolt supports this host... yes, replacing libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for find... /usr/bin/find
checking for xargs... /usr/bin/xargs
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc and cc understand -c and -o together... yes
checking for inline... inline
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether byte ordering is bigendian... no
checking whether float word ordering is bigendian... no
checking for native atomic primitives... Intel
checking whether atomic ops require a memory barrier... no
checking for native Win32... no
checking for Sun Solaris (non-POSIX ctime_r)... no
checking for cos in -lm... yes
checking for sched_yield in -lrt... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for uint64_t... yes
checking for uint128_t... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sys/stat.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for sched_getaffinity... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for feenableexcept... yes
checking for fedisableexcept... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for signal.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for vasnprintf... no
checking for link... yes
checking for ctime_r... yes
checking for drand48... yes
checking for flockfile... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for supported warning flags...
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wextra... yes
checking whether gcc supports -Wsign-compare... yes
checking whether gcc supports -Werror-implicit-function-declaration... yes
checking whether gcc supports -Wpointer-arith... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wmissing-declarations... yes
checking whether gcc supports -Wnested-externs... yes
checking whether gcc supports -Wpacked... yes
checking whether gcc supports -Wswitch-enum... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wstrict-aliasing=2... yes
checking whether gcc supports -Winit-self... yes
checking whether gcc supports -Wunsafe-loop-optimizations... yes
checking whether gcc supports -Wdeclaration-after-statement... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wno-missing-field-initializers... yes
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc supports -Wno-attributes... yes
checking whether gcc supports -Wno-long-long... yes
checking whether gcc supports -Winline... yes
checking whether gcc supports -fno-strict-aliasing... yes
checking whether gcc supports -fno-common... yes
checking whether gcc supports -Wp,-D_FORTIFY_SOURCE=2... yes
checking which warning flags were supported... -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -fno-common -Wp,-D_FORTIFY_SOURCE=2
checking how to enable unused result warnings... __attribute__((__warn_unused_result__))
checking how to allow undefined symbols in shared libraries used by test suite... checking whether gcc supports -Wl,--allow-shlib-undefined... yes
-Wl,--allow-shlib-undefined
checking for VALGRIND... no
no
checking for compress in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for X... libraries , headers
checking for cairo's Xlib surface backend feature...
checking for xlib... yes
checking whether cairo's Xlib surface backend feature could be enabled... yes
checking for cairo's Xlib Xrender surface backend feature...
checking for xlib_xrender... yes
checking whether cairo's Xlib Xrender surface backend feature could be enabled... yes
checking for cairo's XCB surface backend feature...
checking for xcb... yes
checking whether cairo's XCB surface backend feature could be enabled... yes
checking for cairo's Quartz surface backend feature...
checking ApplicationServices/ApplicationServices.h usability... no
checking ApplicationServices/ApplicationServices.h presence... no
checking for ApplicationServices/ApplicationServices.h... no
checking CoreGraphics/CoreGraphics.h usability... no
checking CoreGraphics/CoreGraphics.h presence... no
checking for CoreGraphics/CoreGraphics.h... no
checking whether cairo's Quartz surface backend feature could be enabled... no (requires CoreGraphics framework)
checking for cairo's Quartz font backend feature...
checking whether cairo's Quartz font backend feature could be enabled... no (requires CoreGraphics framework)
checking for cairo's Microsoft Windows surface backend feature...
checking whether cairo's Microsoft Windows surface backend feature could be enabled... no (requires a Win32 platform)
checking for cairo's Microsoft Windows font backend feature...
checking whether cairo's Microsoft Windows font backend feature could be enabled... no (requires a Win32 platform)
checking for cairo's PNG functions feature...
checking for png... yes
checking whether cairo's PNG functions feature could be enabled... yes
checking for cairo's FreeType font backend feature...
checking for FONTCONFIG... yes
checking for FcFini... yes
checking for FREETYPE... yes
checking whether cairo's FreeType font backend feature could be enabled... yes
checking for FT_Bitmap_Size.y_ppem... yes
checking for FT_GlyphSlot_Embolden... yes
checking for FT_Load_Sfnt_Table... yes
checking for FT_Library_SetLcdFilter... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for cairo's PostScript surface backend feature...
checking whether cairo's PostScript surface backend feature could be enabled... yes
checking for gs... gs
checking for LIBSPECTRE... yes
checking for cairo's PDF surface backend feature...
checking whether cairo's PDF surface backend feature could be enabled... yes
checking for POPPLER... yes
checking for poppler_page_render... yes
checking for cairo's SVG surface backend feature...
checking whether cairo's SVG surface backend feature could be enabled... yes
checking for LIBRSVG... yes
checking for rsvg_pixbuf_from_file... yes
checking for cairo's image surface backend feature...
checking for pixman... yes
checking whether cairo's image surface backend feature could be enabled... yes
checking for cairo's user font backend feature...
checking whether cairo's user font backend feature could be enabled... yes
checking for gtk... yes
configure: creating ./config.status
config.status: creating src/cairo.pc
config.status: creating cairo-uninstalled.pc
config.status: creating src/cairo-xlib.pc
config.status: creating cairo-xlib-uninstalled.pc
config.status: creating src/cairo-xlib-xrender.pc
config.status: creating cairo-xlib-xrender-uninstalled.pc
config.status: creating src/cairo-xcb.pc
config.status: creating cairo-xcb-uninstalled.pc
config.status: creating src/cairo-png.pc
config.status: creating cairo-png-uninstalled.pc
config.status: creating src/cairo-ft.pc
config.status: creating cairo-ft-uninstalled.pc
config.status: creating src/cairo-ps.pc
config.status: creating cairo-ps-uninstalled.pc
config.status: creating src/cairo-pdf.pc
config.status: creating cairo-pdf-uninstalled.pc
config.status: creating src/cairo-svg.pc
config.status: creating cairo-svg-uninstalled.pc
config.status: creating Makefile
config.status: creating boilerplate/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating test/pdiff/Makefile
config.status: creating perf/Makefile
config.status: creating util/Makefile
config.status: creating doc/Makefile
config.status: creating doc/public/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing ./build/Makefile.win32.features commands
config.status: creating ./build/Makefile.win32.features
config.status: ./build/Makefile.win32.features is unchanged
config.status: executing ./src/Makefile.am.features commands
config.status: creating ./src/Makefile.am.features
config.status: ./src/Makefile.am.features is unchanged
config.status: executing ./src/Makefile.win32.features commands
config.status: creating ./src/Makefile.win32.features
config.status: ./src/Makefile.win32.features is unchanged
config.status: executing ./boilerplate/Makefile.am.features commands
config.status: creating ./boilerplate/Makefile.am.features
config.status: ./boilerplate/Makefile.am.features is unchanged
config.status: executing ./boilerplate/Makefile.win32.features commands
config.status: creating ./boilerplate/Makefile.win32.features
config.status: ./boilerplate/Makefile.win32.features is unchanged
config.status: executing src/cairo-features.h commands
config.status: creating src/cairo-features.h
config.status: executing ./src/cairo-supported-features.h commands
config.status: creating ./src/cairo-supported-features.h
config.status: ./src/cairo-supported-features.h is unchanged
config.status: executing ./build/Makefile.win32.features-h commands
config.status: creating ./build/Makefile.win32.features-h
config.status: ./build/Makefile.win32.features-h is unchanged
cairo (version 1.8.8 [release]) will be compiled with:
The following surface backends:
Image: yes (always builtin)
Xlib: yes
Xlib Xrender: yes
Quartz: no (requires CoreGraphics framework)
Quartz-image: no (disabled, use --enable-quartz-image to enable)
XCB: yes
Win32: no (requires a Win32 platform)
OS2: no (disabled, use --enable-os2 to enable)
PostScript: yes
PDF: yes
SVG: yes
glitz: no (disabled, use --enable-glitz to enable)
BeOS: no (disabled, use --enable-beos to enable)
DirectFB: no (disabled, use --enable-directfb to enable)
The following font backends:
User: yes (always builtin)
FreeType: yes
Win32: no (requires a Win32 platform)
Quartz: no (requires CoreGraphics framework)
The following functions:
PNG functions: yes
And the following internal features:
gcov support: no
test surfaces: no (disabled, use --enable-test-surfaces to enable)
ps testing: yes
pdf testing: yes
svg testing: yes
--- The XCB surface backend feature is still under active development and is
--- included in this release only as a preview. It does NOT fully work yet
--- and incompatible changes may yet be made to XCB surface backend specific
--- API.
make all-recursive
make[1]: Entering directory `/home/cra/downloads/cairo-lcd/src/cairo-1.8.8'
Making all in src
/bin/sh: line 17: cd: src: No such file or directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cra/downloads/cairo-lcd/src/cairo-1.8.8'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
[cra@cratop 07:49:13 ~/downloads/cairo-lcd]
$ -
Bug report for SS10U1 fortran compiler
I am getting an internal error when compiling a larger fortran source file:
f90: Internal Error, code=fw-assert-einln-835, last src=mbd.f:14
If I first split the file and then compile the separate routines, the compiler survives:
fsplit mbd.f
f95 -c addblk.f fperio.f getblk.f mbbwi.f mgmbwi.f puta2blk.f putblk.f
I'll be happy to provide a tar-ball to a Sun engineer.
f90 -V
Intel(R) Fortran Compiler for 32-bit applications, Version 8.1 Build 20050309Z Package ID: l_fc_pc_8.1.025
Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY
GNU ld version 2.15.90.0.1.1 20040303 (SuSE Linux)
Supported emulations:
elf_i386
i386linux
elf_x86_64
best regards
Dieteruups.
sorry for printing the intel compiler version I am running.
I veryfied that the problem persists
This is the release of the Sun compiler causing the problem:
/opt/sun/sunstudio10u1/bin/f90 -V
f90: Sun Fortran 95 8.3 __version_f9x_patch_linux Build2_0 2005/08/01 -
Getting "No such file or directory" when executing existing binary
Heya,
I'm currently trying to get hpasm to run, but after installing I have some strange issue.
The binary is there but I can't execute it:
[florian@moody ~]$ ls -l /usr/sbin/hpasmcli
lrwxrwxrwx 1 root root 26 Oct 14 23:30 /usr/sbin/hpasmcli -> /opt/compaq/utils/hpasmcli
[florian@moody ~]$ ls -l /opt/compaq/utils/hpasmcli
-rwxr-xr-x 1 root root 131896 Oct 14 23:30 /opt/compaq/utils/hpasmcli
[florian@moody ~]$ /opt/compaq/utils/hpasmcli
bash: /opt/compaq/utils/hpasmcli: No such file or directory
Running ldd and file on it also looks strange:
[florian@moody ~]$ ldd /opt/compaq/utils/hpasmcli
not a dynamic executable
[florian@moody ~]$ file /opt/compaq/utils/hpasmcli
/opt/compaq/utils/hpasmcli: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, for SuSE 9.1, not stripped
strace reveals execve() returns ENOENT:
[florian@moody ~]$ strace /opt/compaq/utils/hpasmcli
execve("/opt/compaq/utils/hpasmcli", ["/opt/compaq/utils/hpasmcli"], [/* 42 vars */]) = -1 ENOENT (No such file or directory)
write(2, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
) = 40
exit_group(1) = ?
+++ exited with 1 +++
but man 3 execve says:
ERRORS
The exec functions shall fail if:
ENOENT A component of path or file does not name an existing file or path or file is an empty string.
So I have no idea what's going on here... Just some weird broken binary?
FlorianThe system is 64 bit (x86_64) indeed.
skottish wrote:If it's a 32 bit binary on a 64 bit system without the correct 32 bit libraries, this will always happen. The Compiler, did you use the AUR package to install this or did you do it manually?
I used the AUR package.
skottish wrote:The AUR package installs the 32 version even on 64 bit machines. If there is a 64 bit version, then the PKGBUILD is broken. If there isn't one, then you need to find the dependencies and install the 32 bit equivalents.
I think the PKGBUILD looks good, but their original RPM is broken. When I download and extract the 64 bit RPM by hand, _one_ binary is 64 bit, the others are 32bit:
[florian@moody utils]$ file *
bootcfg: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, for SuSE 9.1, not stripped
hpasmcli: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, for SuSE 9.1, not stripped
hpimlview: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.1, for SuSE 9.1, not stripped
hplog: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, for SuSE 9.1, not stripped
hpuid: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, for SuSE 9.1, not stripped
imlbe: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, for SuSE 9.1, not stripped
skottish wrote:I felt like looking into this and this software is almost seven years old. Even with legacy servers, HP must have modern tools for Proliant class servers.
Hmm, that's a good point actually. I'll dig a bit and see what I'll find.
Florian -
Installation of Intel C++ Compiler
I've been trying to get the Intel C++ compiler (icc) running on my new machine, but have run into nothing but problems.
When following the Intel install script I receive the following errors:
Missing optional pre-requisite
-- cannot determine operating system type
-- system glibc or kernel version not supported or not detectable
-- binutils version not supported or not detectable
Despite being listed as optional, the installation fails immediately after this. My kernel is up to date (2.6.33) as is glibc (2.11.1) and both detectable, so I assumed this was simply Arch not being among the official supported distributions.
Any help getting around whatever this problem is would be appreciated.
note: I tried installing the version on AUR via yaourt but run into trouble, specifically:
==> directory with a database of unpacked files. This is useless.
==> You might want to delete this folder:
==> /home/radio/intel
==> Removing '/tmp/yaourt-tmp-radio/aur-icc/icc/pkg' from all files containing it
grep: /tmp/yaourt-tmp-radio/aur-icc/icc/pkg/opt/intel/Compiler/11.1/069/*: No such file or directory
sed: no input files
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build icc package.
Last edited by radioactivist (2010-05-29 12:58:37)I have tried that as well. The same error occurs. I looked into modifying te installation script myself but couldn't manage to fix anything.
Last edited by radioactivist (2010-05-29 12:59:29) -
Hi I am getting a no such file error though I am calling functions correctly. I am able to compile successfully but getting these runtime errors.
Can anybody point out what mistake I am doing:-
Here are the error lines:-
java.io.FileNotFoundException: (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at java.io.FileInputStream.<init>(FileInputStream.java:96)
at java.io.FileReader.<init>(FileReader.java:58)
at Clamando$Roger3.readFile(Clamando.java:96)
at Clamando$Roger3.<init>(Clamando.java:85)
at Clamando.main(Clamando.java:260)
java.io.FileNotFoundException: (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at java.io.FileInputStream.<init>(FileInputStream.java:96)
at java.io.FileReader.<init>(FileReader.java:58)
at Clamando$Roger3.readFile(Clamando.java:96)
at Clamando$Roger3.<init>(Clamando.java:85)
at Clamando.<init>(Clamando.java:50)
at Clamando$1.run(Clamando.java:265)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)readFile(filename); line 85
BufferedReader fh = new BufferedReader(new FileReader(filename)); line 96
getContentPane().add(paintPanel, BorderLayout.CENTER);
new Clamando(0, 0, 0, 0, null, null).setVisible(true);
public class Clamando extends JFrame {
public Color color;
public int top;
public int fixvalue1;
public int fixvalue2;
public int width;
public String text;
public int end;
public int value1;
public int value2;
public int mywidth;
private JPanel Roger3;
public Clamando(int top, int fixvalue1, int width, int fixvalue2, Color c,String text) {
this.color = c;
this.top = top;
this.fixvalue1 = fixvalue1;
this.width = width;
this.fixvalue2 = fixvalue2;
this.text = text;
setDefaultCloseOperation(EXIT_ON_CLOSE);
setMinimumSize(new Dimension(1000, 200));
Roger3 = new Roger3();
getContentPane().add(Roger3, BorderLayout.CENTER);
pack();
static class Roger3 extends JPanel implements MouseMotionListener, MouseListener {
public List<Glyph> glyphs;
public int top;
public int bottom;
public int width;
public String f[];
public int value1;
public int value2;
BufferedImage image;
Graphics2D g2d;
Point startPoint = null;
Point endPoint = null;
public int start;
public int x;
public int y;
int scaledvalue;
public int end;
public String filename = new String();
public Roger3(){
super();
addMouseMotionListener(this);
addMouseListener(this);
boolean mouseClicked = false;
readFile(filename);
System.out.println(filename);
public void readFile(String filename){
this.filename = filename;
glyphs = new ArrayList<Glyph>();
String n = null;
try{
BufferedReader fh = new BufferedReader(new FileReader(filename));
while((n = fh.readLine()) != null && (n = n.trim()).length() > 0){
f = n.split("\t");
value1 = Integer.parseInt(f[5].trim());
value2 = Integer.parseInt(f[6].trim());
top = value1 / 1;
bottom = value2 / 1;
width = bottom - top;
String text = f[5];
Color color = new Color(Integer.parseInt(f[7]));
int fixvalue1 = 60;
int fixvalue2 = 27;
glyphs.add(new Glyph(top, fixvalue1, width, fixvalue2, color, text));
fh.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e2) {
e2.printStackTrace();
public void paintComponent(Graphics g) {
public void mousePressed(MouseEvent e) {
public void mouseDragged(MouseEvent e) {
public void mouseReleased(MouseEvent e) {
public void mouseMoved(MouseEvent e) {
public void mouseClicked(MouseEvent e) {}
public void mouseEntered(MouseEvent e) {}
public void mouseExited(MouseEvent e) {}
static class Glyph {
private Rectangle bounds;
private Color color;
private Paint paint;
private String label;
private boolean showLabel = false;
public Glyph(int x, int y, int width, int height, Color color, String label) {
bounds = new Rectangle(x, y, width, height);
this.color = color;
this.paint = new GradientPaint(x, y, color, x, y+height, Color.WHITE);
this.label = label;
public void draw(Graphics g){
Graphics2D g2 = (Graphics2D)g;
g2.setPaint(paint);
g2.fill(bounds);
if (showLabel){
g2.setColor(Color.BLACK);
int labelWidth = g2.getFontMetrics().stringWidth(label);
int fontHeight = g2.getFontMetrics().getHeight();
g2.drawString( label,
(int)(bounds.getX()),
(int)(bounds.getY()));
public boolean contains(int x, int y){
return bounds.contains(x,y);
public void showLabel(boolean show){
showLabel = show;
public static void main(String args[]) {
Roger3 hhh = new Roger3();
hhh.readFile(args[0]);
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Clamando(0, 0, 0, 0, null, null).setVisible(true);
public Color getColor(){
return color;
public String toString() {
return String.format("Color=%s,top=%d,bottom=%d,width=%d", color.toString(), top, fixvalue1, width, fixvalue2, text);
}ThanksI tried the same thing like this and it works perfectly but why its not working in the above code ?
Here is the code that works:-
import java.io.FileNotFoundException;
import java.io.BufferedReader;
import java.io.*;
public class Testwow {
public String filename = new String();
public int one;
public int two;
public String f[];
public Testwow(){
readFile(filename);
System.out.println(filename);
public void readFile(String filename){
this.filename = filename;
System.out.println(filename);
String n = null;
BufferedReader fh;
try{
fh = new BufferedReader(new FileReader(filename));
while((n = fh.readLine()) != null && (n = n.trim()).length() > 0){
f = n.split("\t");
one = Integer.parseInt(f[5].trim());
two = Integer.parseInt(f[6].trim());
System.out.println(one);
System.out.print( two);
fh.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e2) {
e2.printStackTrace();
public static void main(String args[]){
Testwow wow = new Testwow();
wow.readFile(args[0]);
} -
The .keystore file now cannot be found (No such file or directory)
hi,
so, I'm trying to sign a JAR file connected to an applet.
I got to creating the keystore and had a "where do you want to store it? and what do you want to call it?" messages.
I saved it as '.keystore' and was warned by the system that files beginning with '.' are invisible.
I clicked ok (thinking the compiler should be able to 'see' it) and now whenever I try to sign anything the Terminal tells me:
jarsigner error: java.lang.RuntimeException: keystore load: /Users/spikenigma/.keystore (No such file or directory)
It doesn't matter how many other keystores I create, it looks for it in said directory and throws up an error.
I've tried everything
HELPOk, I'll be as specific as possible and maybe you can tell where I am going wrong. I am on a Mac.
1)
I have a JAR file called csvjdbc.jar . It is a driver that enables offline SQL operations of sorts on tabular data.
It works perfectly when loaded in the classpath both dynamically and at runtime.
The contents of it's manifest file are, as expected:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.1
Created-By: 1.6.0_22-b04 (Sun Microsystems Inc.)
2)
A test of csvjdbc.jar to check if it is already signed returns that it is not, as expected:
(input)
jarsigner -verify csvjdbc.jar
(input)
(output from terminal)
jar is unsigned. (signatures missing or not parsable)
(output from terminal)
3)
I want to sign the jar file so that I can load said JAR file in an applet I have not yet created.
4)
My steps are:
(navigate to the folder via the terminal)
cd desktop
cd progamming
cd java
etc….
(navigate to the folder via the terminal)
(try to sign the jar)
jarsigner csvjdbc.jar spikenigma
(try to sign the jar)
(response from terminal)
Enter Passphrase for keystore:
(response from terminal)
(entered passphrase)
************** (censored)
(entered passphrase)
(response from terminal as previously mentioned)
/Users/spikenigma/.keystore (No such file or directory)
(response from terminal as previously mentioned)
(Ok, let's create another keystore in a different location)
keytool -genkey -alias signFiles -keystore thekeystore
(Ok, let's create another keystore in a different location)
(answer standard questions)
Enter keystore password:
Re-enter new password:
What is your first and last name?
What is the name of your organizational unit?
What is the name of your organization?
What is the name of your City or Locality?
What is the name of your State or Province?
What is the two-letter country code for this unit?
(answer standard questions)
(so, we try signing again)
jarsigner csvjdbc.jar spikenigma
(so, we try signing again)
(enter the passphrase)
Enter Passphrase for keystore:
(enter the passphrase)
(response from terminal as previously mentioned)
jarsigner error: java.lang.RuntimeException: keystore load: /Users/spikenigma/.keystore (No such file or directory)
(response from terminal as previously mentioned)
Maybe you are looking for
-
Data Concatenation - Looking to have result in the Group header
Dear all, Few months ago, I try to concatenate cells under a Group, I succeed using the formula gave by Raghavendra Initialize: whileprintingrecords; stringvar i:=""; Place the above formula in group header and suppress group header section. evaluat
-
Embedded QuickTime movie malfuncioning
I'm using Keynote '08 (vers 4.04) under Tiger. One of the slides in my Keynote presentation is a short QuickTime clip with audio. Everything works perfectly when I play the Keynote presentation. However, after adding a narration to the presentation a
-
Help please : I run rapidwiz thus: ./rapidwiz and I get some errors starting with the one: Preparing to start up Rapid Install... cp: cannot stat '/opt/oracle/startCD/disk1/rapidwiz/jre/Linux' : No such file or directory cp: cannot stat '/opt/oracle/
-
What is the best miniDV camcorder to buy to export miniDV tapes to Macbook pro?
Hey there, I have miniDV tapes with home videos that I want to export to iMovie or FCP 5.0 so I can turn the footage into digital video clips to burn to DVD's. They were shot on a Sony handicam that no longer works. I bought a Panasonic PV-gs15 in
-
HtmlDataTable dynamic row setting
I have an HtmlDataTable component that i wish to dynamicaly change the values of the rows when the table is buit. I wish to have an icon (a graphicImage) displayed (its rendered property set to true) in a row if a certain condition is met or, if the