View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007813VTK(No Category)public2008-10-15 01:332016-08-12 09:55
ReporterShekhar 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007813: Write to the in-source tree. (tif_fax3sm.c)
DescriptionBuild under ubuntu 8.04 x86 with VTK-5.2 and CMake 2.6.2

[ 4%] Generating tif_fax3sm.c
../../bin/vtkmkg3states: /home/shakes/package/VTK/Utilities/vtktiff/tif_fax3sm.c: Cannot create output file.
make[2]: *** [Utilities/vtktiff/tif_fax3sm.c] Error 254
make[1]: *** [Utilities/vtktiff/CMakeFiles/vtktiff.dir/all] Error 2
make: *** [all] Error 2
Additional InformationSolved by using super user mode (i.e., "sudo make").

Discussion on vtkusers:
-----------------------------------------------
mathieu.malaterre@gmail.com wrote:

No that a bug IMHO. For out-of-source build, you should never write to
the in-source tree. Please log that as a bug in VTK:

http://vtk.org/Bug [^]

thx

On Tue, Oct 14, 2008 at 2:06 AM, Shakes
<Shekhar.Chandra@sci.monash.edu.au> wrote:
> > Hi Hang,
> >
> > I think I had a similar error recently. Ran the build as root and it went
> > fine (Ubuntu 8.04)... not sure why. If that doesn't help, check your disc
> > space.
> >
> > Cheers
> > Shakes
> >
> > hang chang wrote:
>> >>
>> >> Hi All,
>> >>
>> >> I got a problem when compiling VTK-5.2.0, please find following the error
>> >> information. How could I solve it ? Thanks.
>> >>
>> >> Hang
>> >>
>> >> ==============================
>> >> ==========================
>> >> [ 4%] Generating tif_fax3sm.c
>> >> ../../bin/vtkmkg3states:
>> >> /home/hang/package/VTK/Utilities/vtktiff/tif_fax3sm.c: Cannot create output
>> >> file.
>> >> make[2]: *** [Utilities/vtktiff/tif_fax3sm.c] Error 254
>> >> make[1]: *** [Utilities/vtktiff/CMakeFiles/vtktiff.dir/all] Error 2
>> >> make: *** [all] Error 2
>> >> ========================================================
>> >> ------------------------------------------------------------------------
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0013888)
Heath Davis (reporter)
2008-10-15 16:52

The file is delivered in the tarball as 400. Issue fixed on my system by:

chmod 600 Utilities/vtktiff/tif_fax3sm.c

I did not invoke `sudo make` as in the previous message.

Fedora release 9 (Sulphur) #Yum update current as of 15/Oct/2008
Linux version 2.6.26.5-45.fc9.i686
g++ (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
cmake version 2.6-patch 1
vtk-5.2.0.tar.gz
(0021594)
lesmana (reporter)
2010-08-02 10:24

this is still a problem in vtk-5.6.0.tar.gz

the file tif_fax3sm.c is in the archive with permission -r--r--r--

that means the file cannot be overwritten. but during compilation the file needs to be overwritten.

workarounds are changing the file permissions so it can be overwritten, or deleting that file by hand, or deleting the file by doing a make clean.

as far as i can tell you can fix this bug by omitting the file tif_fax3sm.c from the archive.
(0037028)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2008-10-15 01:33 Shekhar New Issue
2008-10-15 16:52 Heath Davis Note Added: 0013888
2010-08-02 10:24 lesmana Note Added: 0021594
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:55 Kitware Robot Note Added: 0037028
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved
2016-08-12 09:55 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team