sto passando le giornate tra grep e sed
comunque si, la parte aggiunta e' quella, praticamente ho invertito il check (controlla prima che esista lib64) e modificato il default sulla riga dopo da lib a lib64.
Moderatore: Staff


capito, questione di stile insomma.ponce ha scritto:no la patch l'ho fatta io editando i sorgenti per i percorsi e levando completamente i riferimenti a /etc/sysconfig, anche dalla documentazione
sto passando le giornate tra grep e sed![]()
comunque si, la parte aggiunta e' quella, praticamente ho invertito il check (controlla prima che esista lib64) e modificato il default sulla riga dopo da lib a lib64.

comunque prova il mio slackbuild con i files.ponce ha scritto:macche' rubo e rubo, le metto apposta

Scusa ponce, anche la nuova mantiene un bug!ponce ha scritto:no la patch l'ho fatta io editando i sorgenti per i percorsi e levando completamente i riferimenti a /etc/sysconfig, anche dalla documentazione
sto passando le giornate tra grep e sed![]()
comunque si, la parte aggiunta e' quella, praticamente ho invertito il check (controlla prima che esista lib64) e modificato il default sulla riga dopo da lib a lib64.

Codice: Seleziona tutto
# crontab -l
# If you don't want the output of a cron job mailed to you, you have to direct
# any output to /dev/null. We'll do this here since these jobs should run
# properly on a newly installed system, but if they don't the average newbie
# might get quite perplexed about getting strange mail every 5 minutes. :^)
#
# Run the hourly, daily, weekly, and monthly cron jobs.
# Jobs that need different timing may be entered into the crontab as before,
# but most really don't need greater granularity than this. If the exact
# times of the hourly, daily, weekly, and monthly cron jobs do not suit your
# needs, feel free to adjust them.
#
# Run hourly cron jobs at 47 minutes after the hour:
47 * * * * /usr/bin/run-parts /etc/cron.hourly 1> /dev/null
#
# Run daily cron jobs at 4:40 every day:
40 4 * * * /usr/bin/run-parts /etc/cron.daily 1> /dev/null
#
# Run weekly cron jobs at 4:30 on the first day of the week:
30 4 * * 0 /usr/bin/run-parts /etc/cron.weekly 1> /dev/null
#
# Run monthly cron jobs at 4:20 on the first day of the month:
20 4 1 * * /usr/bin/run-parts /etc/cron.monthly 1> /dev/nullpenso di no, perche' la patch nel codice setta solo il valore di default a quello giusto, ma vede prima se e' definita.conraid ha scritto:Quella patch è solamente per la documentazione o anche per altro riguardo sysconfig? perché io imposto la cosa tramite conf_dir, non è che cozza qualcosa?

Si, e funziona da >10 anni,ponce ha scritto:scusa mario, ma la riga nel crontab l'hai messa te?
mi sembra un problema di sintassi del comando.

non esiste, almeno a me non lo crea, ed i file init sono creati per altre distribuzioni. Quindi sulla base di quelli l'ho creato io.ponce ha scritto: rc.sysstat penso che sia solo un link/copia del comando sysstat stesso: da provare.
Codice: Seleziona tutto
LDFLAGS="$SLKLDFLAGS" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
conf_dir=/etc/sysstat \
sa_lib_dir=/usr/lib${LIBDIRSUFFIX} \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--mandir=/usr/man \
--disable-man-group \
--enable-clean-sa-dir \
--enable-install-isag \
--host=$CHOST-slackware-linux \
--build=$CHOST-slackware-linux 


Installato slackware64-current-26_May_2009-DVD.iso,conraid ha scritto: ma mi sa che stiamo andando troppo offtopic

Mario, la current è in sviluppo, anche a 32 bit spesso ha problemiMario Vanoni ha scritto:Installato slackware64-current-26_May_2009-DVD.iso,conraid ha scritto: ma mi sa che stiamo andando troppo offtopic
riformattando il disco:
- non ha piu` da ridire sulla scheda grafica nv del kernel
- ma con VGA = 773 sempre caratteri troppo grandi
- compilato kernel 2.6.29.4, 4m22, poco piu` veloce della 12.2
- ora VGA = 773 e` giusto
- [OT] sar ...

Codice: Seleziona tutto
diff -rupN cryptopp.orig/GNUmakefile cryptopp/GNUmakefile
--- cryptopp.orig/GNUmakefile 2009-03-15 02:48:02.000000000 +0100
+++ cryptopp/GNUmakefile 2009-05-26 16:54:58.424695312 +0200
@@ -1,4 +1,4 @@
-CXXFLAGS = -DNDEBUG -g -O2
+CXXFLAGS = -DNDEBUG -g -O2 -fPIC -march=x86_64 -mtune=core2
#CXXFLAGS = -g
# -fPIC is supported. Please report any breakage of -fPIC as a bug.
# CXXFLAGS += -fPIC
@@ -118,9 +118,9 @@ clean:
$(RM) cryptest.exe libcryptopp.a $(LIBOBJS) $(TESTOBJS) cryptopp.dll libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTIMPORTOBJS) $(DLLTESTOBJS)
install:
- $(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib $(PREFIX)/bin
+ $(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib64 $(PREFIX)/bin
$(CP) *.h $(PREFIX)/include/cryptopp
- $(CP) *.a $(PREFIX)/lib
+ $(CP) *.a $(PREFIX)/lib64
$(CP) *.exe $(PREFIX)/bin
libcryptopp.a: $(LIBOBJS)
ma io non ho 64bit, faccio gli SlackBuild cercando di farli compatibili (anzi, se dopo me li testi tutti, fai un favore a me ed a Slacky. Per adesso solo Twister può fare da tester, ma ha poco tempo a disposizione su una slackware64)ponce ha scritto:ci tengo a precisare che di C/C++ ne so' poco o nulla, scrivo le patch "a naso"![]()
![]()
prova un po' cosi'Codice: Seleziona tutto
diff -rupN cryptopp.orig/GNUmakefile cryptopp/GNUmakefile --- cryptopp.orig/GNUmakefile 2009-03-15 02:48:02.000000000 +0100 +++ cryptopp/GNUmakefile 2009-05-26 16:54:58.424695312 +0200 @@ -1,4 +1,4 @@ -CXXFLAGS = -DNDEBUG -g -O2 +CXXFLAGS = -DNDEBUG -g -O2 -fPIC -march=x86_64 -mtune=core2 #CXXFLAGS = -g # -fPIC is supported. Please report any breakage of -fPIC as a bug. # CXXFLAGS += -fPIC @@ -118,9 +118,9 @@ clean: $(RM) cryptest.exe libcryptopp.a $(LIBOBJS) $(TESTOBJS) cryptopp.dll libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTIMPORTOBJS) $(DLLTESTOBJS) install: - $(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib $(PREFIX)/bin + $(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib64 $(PREFIX)/bin $(CP) *.h $(PREFIX)/include/cryptopp - $(CP) *.a $(PREFIX)/lib + $(CP) *.a $(PREFIX)/lib64 $(CP) *.exe $(PREFIX)/bin libcryptopp.a: $(LIBOBJS)