Re: jpeg trouble




--- Bill Cunningham <billcm charter net> wrote:

>     Hi all,
> 
> I have a make install in the makei.log.gz file attached. I don't know why
> there's man page error here. There's a configure file error here too. When I
> run the make install with this jpeg library the static libraries libjpeg.a
> and nothing else copies to usrs/local. GTK wants it and if I disable libpeg
> support and make GTK I run into that same libtool problem. There's something
> keeping me from building GTK.
> 
> Bill
> > _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 

This is a known problem (with libjpeg) and there is a knwon solution in my tool.

If one looks into

AppsFromScratch/20060710/include/perl/project_specific/default_build_data_sub.prl

file, he/she can see this piece of code:

    265             pre_make_sub =>
    266               sub
    267                 {
    268                 my %this_sub_args = @_;
    269
    270                 my $info_marker = $this_sub_args{info_marker};
    271                 my $error_marker = $this_sub_args{error_marker};
    272                 my $system_wrapper_sub = $this_sub_args{system_wrapper_sub};
    273                 my $target_build_dir = $this_sub_args{target_build_dir};
    274
    275                 my $makefile = "$target_build_dir/Makefile";
    276                 my $original_makefile = "$makefile.original";
    277
    278                 if(
    279                   &{$system_wrapper_sub}
    280                     (
    281                     $info_marker,
    282                     "\\cp -p $makefile $original_makefile"
    283                     ) != 0
    284                   )
    285                   {
    286                   warn "$error_marker could not back up Makefile\n";
    287                   return 1;
    288                   }
    289
    290                 open(my $rfh, $makefile) or
    291                 do{
    292                   warn "$error_marker cannot open '$makefile' file for reading\n";
    293                   return 1;
    294                   };
    295
    296                 my @buffer = <$rfh>;
    297
    298                 close($rfh);
    299
    300                 #########################
    301                 foreach my $line(@buffer)
    302                 #########################
    303                   {
    304                   $line =~ s|(/install\s+)|$1 -D |;
    305                   } # foreach my $line(@buffer)
    306
    307                 open(my $wfh, '>', $makefile) or
    308                 do{
    309                   warn "$error_marker could not open '$makefile' foe writing\n";
    310                   return 1;
    311                   };
    312
    313                 print $wfh @buffer;
    314
    315                 close($wfh);
    316
    317                 0; # the returned value
    318                 } # sub
    319                   # pre_make_sub

- the fix is on line #304.

--Sergei.

Applications From Scratch: http://appsfromscratch.berlios.de/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]