On Feb 7, 2004, at 8:24 AM, Alexander Hansen wrote:



On Feb 7, 2004, at 12:17 AM, Joshua David Horner wrote:


hey all

reading a great article on LaTeX at http://www.macdevcenter.com/pub/a/mac/2004/02/03/latex.html got me really interested in trying it out. so i installed LaTeX via fink, and it all worked fine. but i suppose i wanted some sort of x-11 interaction with it all, and from my limited knowledge, it appeared as though 'auctex' is what i wanted. but this happened during that install:

..................................................
Setting up emacs20 (20.7-26) ...
emacs-install emacs20
emacsen-common: Handling install of emacsen flavor emacs20
emacsen-common: byte-compiling for emacs20
/sw/lib/emacsen-common/packages/install/emacsen-common: line 44: 2468 Segmentation fault ${FLAVOR} ${byte_compile_options} /sw/etc/${FLAVOR}/site-start.d/00fink-vars.el /sw/share/${FLAVOR}/site-lisp/fink-startup.el
emacs-install: /sw/lib/emacsen-common/packages/install/emacsen-common emacs20 failed at /sw/lib/emacsen-common/emacs-install line 28, <TSORT> line 2.
dpkg: error processing emacs20 (--configure):
subprocess post-installation script returned error exit status 139
dpkg: dependency problems prevent configuration of auctex:
auctex depends on emacsen; however:
Package emacsen is not installed.
Package emacs20 which provides emacsen is not configured yet.
dpkg: error processing auctex (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
emacs20
auctex
E: Sub-process /sw/bin/dpkg returned an error code (1)
..................................................


how can i fix that? feel free to just point me to something to read if this is a total newbie question too.

thanks all!

- josh




Try running these commands


sudo rm /sw/var/lib/fink/prebound/seg_addr_table*
sudo /sw/var/lib/fink/prebound/update-package-prebinding.pl -f

and then try to install emacs20 again.

okay. i purged what i'm assuming to be the old prebinding table and force-created a new one? that all went fine.


then, i tried reinstalling emacs.
looks like the same result:


% sudo apt-get install emacs20


Building Dependency Tree... Done
Sorry, emacs20 is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
2 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up emacs20 (20.7-26) ...
emacs-install emacs20
emacsen-common: Handling install of emacsen flavor emacs20
emacsen-common: byte-compiling for emacs20
/sw/lib/emacsen-common/packages/install/emacsen-common: line 44: 3520 Segmentation fault ${FLAVOR} ${byte_compile_options} /sw/etc/${FLAVOR}/site-start.d/00fink-vars.el /sw/share/${FLAVOR}/site-lisp/fink-startup.el
emacs-install: /sw/lib/emacsen-common/packages/install/emacsen-common emacs20 failed at /sw/lib/emacsen-common/emacs-install line 28, <TSORT> line 2.
dpkg: error processing emacs20 (--configure):
subprocess post-installation script returned error exit status 139
dpkg: dependency problems prevent configuration of auctex:
auctex depends on emacsen; however:
Package emacsen is not installed.
Package emacs20 which provides emacsen is not configured yet.
dpkg: error processing auctex (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
emacs20
auctex
E: Sub-process /sw/bin/dpkg returned an error code (1)
.......................................................


so i opened up /sw/lib/emacsen-common/emacs-install
and tried finding the error on line 28, which is noted in the section below.



.......................................................


sub execute {
  my(@cmd) = @_;
  if($dry_run) {
    print join(" ", @cmd) . "\n";
  } else {
    if(system(@cmd) != 0) {
[line28-->]      die "emacs-$action: " . join(" ", @cmd) . " failed";
    }
  }
}

........................................................

but i don't really understand perl, so perhaps there's a simple fix? or maybe this isn't the problem at all...

- josh



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to