PDA

View Full Version : [Solved] installing KDE


hirohitosan
November 21st, 2009, 18:25
I'm trying to install KDE. After a few hours I get :

===> akonadi-1.2.1 depends on file: /usr/local/bin/mysqld_safe - not found
===> Verifying install for /usr/local/bin/mysqld_safe in /usr/ports/databases/mysql50-server
===> Vulnerability check disabled, database not found

You may use the following build options:

WITH_CHARSET=charset Define the primary built-in charset (latin1).
WITH_XCHARSET=list Define other built-in charsets (may be 'all').
WITH_COLLATION=collate Define default collation (latin1_swedish_ci).
WITH_OPENSSL=yes Enable secure connections.
WITH_LINUXTHREADS=yes Use the linuxthreads pthread library.
WITH_PROC_SCOPE_PTH=yes Use process scope threads
(try it if you use libpthread).
BUILD_OPTIMIZED=yes Enable compiler optimizations
(use it if you need speed).
BUILD_STATIC=yes Build a static version of mysqld.
(use it if you need even more speed).
WITHOUT_THR_ALARM=yes Disable signals (this reduces kernel lock
contention on SMP, but has the side effect
that you can't kill clients that are sleeping).
WITHOUT_INNODB=yes Disable support for InnoDB table handler.
WITH_ARCHIVE=yes Enable support for Archive Storage Engine.
WITH_CSV=yes Enable support for CSV Storage Engine.
WITH_FEDERATED=yes Enable support for Federated Storage Engine.
WITH_NDB=yes Enable support for NDB Cluster.

===> Extracting for mysql-server-5.0.87
=> MD5 Checksum mismatch for mysql-5.0.87.tar.gz.
=> SHA256 Checksum mismatch for mysql-5.0.87.tar.gz.
===> Refetch for 1 more times files: mysql-5.0.87.tar.gz mysql-5.0.87.tar.gz
===> Vulnerability check disabled, database not found

You may use the following build options:

WITH_CHARSET=charset Define the primary built-in charset (latin1).
WITH_XCHARSET=list Define other built-in charsets (may be 'all').
WITH_COLLATION=collate Define default collation (latin1_swedish_ci).
WITH_OPENSSL=yes Enable secure connections.
WITH_LINUXTHREADS=yes Use the linuxthreads pthread library.
WITH_PROC_SCOPE_PTH=yes Use process scope threads
(try it if you use libpthread).
BUILD_OPTIMIZED=yes Enable compiler optimizations
(use it if you need speed).
BUILD_STATIC=yes Build a static version of mysqld.
(use it if you need even more speed).
WITHOUT_THR_ALARM=yes Disable signals (this reduces kernel lock
contention on SMP, but has the side effect
that you can't kill clients that are sleeping).
WITHOUT_INNODB=yes Disable support for InnoDB table handler.
WITH_ARCHIVE=yes Enable support for Archive Storage Engine.
WITH_CSV=yes Enable support for CSV Storage Engine.
WITH_FEDERATED=yes Enable support for Federated Storage Engine.
WITH_NDB=yes Enable support for NDB Cluster.

=> mysql-5.0.87.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.fi.muni.cz/pub/mysql/Downloads/MySQL-5.0/.
===> Vulnerability check disabled, database not found

You may use the following build options:

WITH_CHARSET=charset Define the primary built-in charset (latin1).
WITH_XCHARSET=list Define other built-in charsets (may be 'all').
WITH_COLLATION=collate Define default collation (latin1_swedish_ci).
WITH_OPENSSL=yes Enable secure connections.
WITH_LINUXTHREADS=yes Use the linuxthreads pthread library.
WITH_PROC_SCOPE_PTH=yes Use process scope threads
(try it if you use libpthread).
BUILD_OPTIMIZED=yes Enable compiler optimizations
(use it if you need speed).
BUILD_STATIC=yes Build a static version of mysqld.
(use it if you need even more speed).
WITHOUT_THR_ALARM=yes Disable signals (this reduces kernel lock
contention on SMP, but has the side effect
that you can't kill clients that are sleeping).
WITHOUT_INNODB=yes Disable support for InnoDB table handler.
WITH_ARCHIVE=yes Enable support for Archive Storage Engine.
WITH_CSV=yes Enable support for CSV Storage Engine.
WITH_FEDERATED=yes Enable support for Federated Storage Engine.
WITH_NDB=yes Enable support for NDB Cluster.

=> MD5 Checksum mismatch for mysql-5.0.87.tar.gz.
=> SHA256 Checksum mismatch for mysql-5.0.87.tar.gz.
===> Giving up on fetching files: mysql-5.0.87.tar.gz mysql-5.0.87.tar.gz
Make sure the Makefile and distinfo file (/usr/ports/databases/mysql50-server/distinfo)
are up to date. If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop in /usr/ports/databases/mysql50-server.
*** Error code 1

Stop in /usr/ports/databases/mysql50-server.
*** Error code 1

Stop in /usr/ports/databases/akonadi.
*** Error code 1

Stop in /usr/ports/deskutils/kdepimlibs4.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-runtime.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-runtime.
*** Error code 1

Stop in /usr/ports/x11/kde4.
*** Error code 1

Stop in /usr/ports/x11/kde4.

I think it's a problem with MySQL server. How can I continue?

thanks

LateNiteTV
November 21st, 2009, 18:34
did you do what it said and make sure the distinfo was correct?

hirohitosan
November 21st, 2009, 20:14
I did # portsnap fetch update and then portmaster -a
===>>> Gathering distinfo list for installed ports

===>>> Starting check of installed ports for available updates
===>>> Checking ports for recursive 'make config'

===>>> Is /usr/ports/devel/libtool15/Makefile missing?
===>>> Aborting update

Terminated
Terminated

I don't understand the message. Can someone explain?
thanks!

avilla@
November 21st, 2009, 22:39
to solve the checksum mismatch problem you should probably delete /usr/ports/distfiles/mysql-5.0.87.tar.gz (usually, this happens when the file was only partially downloaded)

the last error you wrote about is probably caused by a bad update of the ports tree... play again with portsnap (i don't know what you should do since i don't use it) to get a working tree (in the worst case, get a fresh tree)

hirohitosan
November 22nd, 2009, 09:35
thanks xzhayon!
I deleted the /usr/ports and after I did: # portsnap fetch
# portsnap extract
# portmaster -a
after that again # cd /usr/ports/x11/kde4
# make install clean
and I got ....
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/oxygen-icons-4.3.1.tar.bz2: size mismatch: expected 115327590, actual 0
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/KDE and try again.
*** Error code 1

Stop in /usr/ports/x11-themes/kde4-icons-oxygen.
*** Error code 1

Stop in /usr/ports/x11-themes/kde4-icons-oxygen.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-workspace.
*** Error code 1

Stop in /usr/ports/x11/kdebase4.
*** Error code 1

Stop in /usr/ports/x11/kde4.
*** Error code 1

Stop in /usr/ports/x11/kde4.

how can I continue? how can I "retrieve this
=> port manually into /usr/ports/distfiles/KDE and try again"?
thanks

avilla@
November 22nd, 2009, 10:21
i can fetch that file without any problem. did you try to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/oxygen-icons-4.3.1.tar.bz2? if you manage to download it, move it to the directory you're asked to. if not... come back and tell me :P

SirDice
November 22nd, 2009, 14:20
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/oxygen-icons-4.3.1.tar.bz2: size mismatch: expected 115327590, actual 0

The oxygen-icons-4.3.1.tar.bz2 looks like it's corrupt. Remove it from distfiles/KDE and try again. If it keeps getting 0 bytes try a different mirror.

hirohitosan
November 23rd, 2009, 13:05
thanks guys
I downloaded manually oxygen-icons-4.3.1.tar.bz2, and continue to install KDE. The problem is that after a while the installation process stops.
For example now the installation is stopped at:
Generating kpilotlocallink.moc
[ 1%] Built target kpilot_automoc
and nothing happens.
When something similar happened before I restarted the computer and start "make install clean" again.

What can I do?
There is no error message or something and also no sign of any activity at all

thanks

graudeejs
November 23rd, 2009, 13:10
uhhh, why won't people run make clean instal clean on dirty directories?
Why do you think it stopped?
I see no error indicating anything.....

How long it was like that?

hirohitosan
November 23rd, 2009, 14:21
uhhh, why won't people run make clean instal clean on dirty directories?
it was written in documentation #make install clean

Why do you think it stopped?
I see no error indicating anything.....
No, like I told you there is no message, just stop at this stage

How long it was like that?
now is 3 hours since that message appears. Nothing happen. No error message or something.

what can I do now?

graudeejs
November 23rd, 2009, 14:40
Did you try to clean it?
make clean and then try to install it, or even better

# cd /usr/ports/x11-themes/kde4-icons-oxygen
# make clean install clean



Have you custumized anything in /etc/make.conf, if so, please show us /etc/make.conf

hirohitosan
November 23rd, 2009, 14:48
Have you custumized anything in /etc/make.conf, if so, please show us /etc/make.conf

No I didn't customized anything. Now I did #cd /usr/ports/x11/kde4
# make clean install clean
It starts cleaning and now is continuing to install

Hope will reach the end

thanks for now! I'll tell you about results

graudeejs
November 23rd, 2009, 15:09
you should first cd to /usr/ports/x11-themes/kde4-icons-oxygen
and try to install it first, because last time installation sopped there.
this might repeat.
Now if you install kde4-icons-oxygen first and then go to kde4, kde4 won't stop at kde4-icons-oxygen again :) and you'll save time

If it's successful, then cd to kde4 and make clean install clean

Actually I'd recommend installing ports-mgmt/portmaster
It'll do many thing for you :)
(including cleaning directories, when necessary before building something

hirohitosan
November 23rd, 2009, 21:51
thank you guys!!!
I have KDE on my desktop!

:beergrin

graudeejs
November 23rd, 2009, 21:56
Good, edit 1st post in advanced mode and add [Solved] flag to your thread :)