On 7/9/14, 8:50 PM, Dan McCammon wrote:
> On Jul 9, 2014, at 8:40 AM, Alexander Hansen
> <alexanderk.han...@gmail.com <mailto:alexanderk.han...@gmail.com>> wrote:
>> Try "sudo apt-get install texlive-base" to grab a pre-compiled
>> texlive.  texlive's build process is a bit fragile.
>>
>> A couple of other issues stand out:
>>
>> When the Xcode app and Xcode command line tools versions don't match,
>> that can cause build problems.  I'd recommend updating your
>> command-line tools.
>>
>> The "serious warnings" potentially indicate a large number of broken
>> packages.
>>
>> --
>> Alexander Hansen, Ph.D.
>> Fink User Liaison
>> My package updates: http://finkakh.wordpress.com/
>
> Hi Alexander,
>
> thanks very much for the reply.  I downloaded new command line tools for
> Xcode, then executed "sudo apt-get install texlive-base", with the
> results shown below:
>
>> [wisp7:~] mccammon% sudo apt-get install texlive-base
>> Password:
>> Reading Package Lists... Done
>> Building Dependency Tree... Done
>> Sorry, texlive-base is already the newest version.
>> 0 packages upgraded, 0 newly installed, 0 to remove and 168  not upgraded.
>> 1 packages not fully installed or removed.
>> Need to get 0B of archives. After unpacking 0B will be used.
>> Setting up texlive-base (0.20110705-105) ...
>> mktexlsr: /sw/share/texmf-dist: not a directory, skipping.
>> mktexlsr: Updating /sw/etc/texmf-config/ls-R...
>> mktexlsr: Updating /sw/etc/texmf.local/ls-R...
>> mktexlsr: Updating /sw/share/texmf/ls-R...
>> mktexlsr: Done.
>> Config file: "/sw/etc/texmf-config/web2c/updmap.cfg"
>> Config file: "/sw/etc/texmf-config/web2c/updmap.cfg"
>> Config file: "/sw/etc/texmf-config/web2c/updmap.cfg"
>> Config file: "/sw/etc/texmf-config/web2c/updmap.cfg"
>> Config file: "/sw/etc/texmf-config/web2c/updmap.cfg"
>> Config file: "/sw/etc/texmf-config/web2c/updmap.cfg"
>> Config file: "/sw/etc/texmf-config/web2c/updmap.cfg"
>> /sw/etc/texmf-config/web2c/updmap.cfg unchanged.  Map files not recreated.
>> Config file: "/sw/etc/texmf-config/web2c/updmap.cfg"
>> /sw/etc/texmf-config/web2c/updmap.cfg unchanged.  Map files not recreated.
>> Config file: "/sw/etc/texmf-config/web2c/updmap.cfg"
>>   cm-super-t1.map disabled
>>   cm-super-t2a.map disabled
>>   cm-super-t2b.map disabled
>>   cm-super-t2c.map disabled
>>   cm-super-ts1.map disabled
>>   cm-super-x2.map disabled
>> Config file: "/sw/etc/texmf-config/web2c/updmap.cfg"
>> dvips output dir: "/sw/var/lib/texmf/fonts/map/dvips/updmap"
>> pdftex output dir: "/sw/var/lib/texmf/fonts/map/pdftex/updmap"
>> dvipdfm output dir: "/sw/var/lib/texmf/fonts/map/dvipdfm/updmap"
>>
>> /sw/bin/updmap is creating new map files
>> using the following configuration:
>>   LW35 font names                  : URWkb
>>   prefer outlines                  : true
>>   texhash enabled                  : true
>>   download standard fonts (dvips)  : false
>>   download standard fonts (pdftex) : true
>>
>> Scanning for LW35 support filesUse of uninitialized value $dvips35 in
>> concatenation (.) or string at /sw/bin/updmap line 950.
>> Use of uninitialized value $pdftex35 in concatenation (.) or string
>> at /sw/bin/updmap line 950.
>> Use of uninitialized value $ps2pk35 in concatenation (.) or string at
>> /sw/bin/updmap line 950.
>>   [  3 files]
>> Scanning for MixedMap entries    [  0 files]
>> Scanning for KanjiMap entries    [  2 files]
>> Scanning for Map entries         [  0 files]
>>
>>
>> ERROR:  The following map file(s) couldn't be found:
>>         dvips35.map pdftex35.map ps2pk35.map
>>
>>         Did you run mktexlsr?
>>
>>         You can delete non-existent map entries using the option
>>           --syncwithtrees.
>>
>> /sw/bin/dpkg: error processing texlive-base (--configure):
>>  subprocess post-installation script returned error exit status 1
>> Errors were encountered while processing:
>>  texlive-base
>> E: Sub-process /sw/bin/dpkg returned an error code (1)
>>
> I don't understand this "Sorry, texlive-base is already the newest
> version."  The "Package" table in Fink Commander shows nothing installed
> for texlive-base.  Following the suggestions at the end under "ERROR:",
> I ran mktexlsr (couldn't find anyplace to put "--syncwithtrees"):
>> [wisp7:~] mccammon% mktexlsr --syncwithtrees
>> mktexlsr: unknown option `--syncwithtrees', try --help if you need it.
>> [wisp7:~] mccammon% sudo mktexlsr
>> Password:
>> mktexlsr: Updating /sw/etc/texmf-config/ls-R...
>> mktexlsr: Updating /sw/share/texmf/ls-R...
>> mktexlsr: Updating /sw/share/texmf-local/ls-R...
>> mktexlsr: Updating /sw/var/lib/texmf/ls-R...
>> mktexlsr: Done.
>> [wisp7:~] mccammon% sudo apt-get --syncwithtrees  install texlive-base
>> E: Command line option --syncwithtrees is not understood
>> [wisp7:~] mccammon% sudo apt-get install texlive-base --syncwithtrees
>> E: Command line option --syncwithtrees is not understood
>> [wisp7:~] mccammon% man -k syncwithtrees
>> syncwithtrees: nothing appropriate
>> [wisp7:~] mccammon% sudo apt-get install texlive-base
>> (identical output to first run)
>
> The "serious warnings" seem mostly related to packages that gave me
> install errors related to texlive-base -- not sure why it's involved in
> so many seemingly unrealted packages.
>
> If you have other ideas, I'll be most happy to try them . . .
>
> Thanks again.
> Dan
>
> ______________________________________________________________________
> Dan McCammon mccam...@physics.wisc.edu <mailto:mccam...@physics.wisc.edu>
> Physics Dept., Univ. of Wisconsin    phone: 608/262-5916
> 1150 University Ave                  fax:   608/265-2334
> Madison, WI 53706                    6207 Chamberlin Hall
>
>
>

"Sorry, texlive-base is already at the latest version" means that the 
package was partially installed by your prior attempt, and that the 
failure was during the post-installation setup.  I didn't initially 
realize that.

--syncwithtrees is an option for the updmap command.

What appears to be causing the problem appears to be a missing 
dvips35.map and ps2pk35.map.

   $dvips35 = &locateMap("dvips35.map");
   $pdftex35 = &locateMap("pdftex35.map");
   $ps2pk35 = &locateMap("ps2pk35.map");
   my $LW35 = "\n$dvips35\n$pdftex35\n$ps2pk35\n\n";

Those aren't getting values, and that's why the error comes up.

I'm showing that dvips35.map should be installed at 
/sw/share/texmf-dist/fonts/map/dvips/tetex/dvips35.map by the 
tetex-texmf package.  Your output shows "not a directory" for 
/sw/share/texmf-dist, and that's suspicious.  Can I get the output from

file /sw/share/tetex-texmf

ls -l /sw/share/tetex-texmf

dpkg -S /sw/share/tetex-texmf


? If some package of ours is installing /sw/share/tetex-texmf as other 
than a directory, that can definitely produce problems, and we'd like to 
figure out what's doing that.

If the "dpkg -S ..." command doesn't return anything, then go ahead and 
remove it, then try "fink reinstall texlive-texmf ; fink install 
texlive-base".
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to