- Arch Linux
- #1 2014-03-13 18:23:08
- [SOLVED] No such file or directory #include
- #2 2014-03-13 18:26:17
- Re: [SOLVED] No such file or directory #include
- #3 2014-03-13 18:43:50
- Re: [SOLVED] No such file or directory #include
- #4 2014-03-13 18:59:38
- Re: [SOLVED] No such file or directory #include
- #5 2014-03-13 19:02:56
- Re: [SOLVED] No such file or directory #include
- #6 2014-03-13 19:31:09
- Re: [SOLVED] No such file or directory #include
- Arch Linux
- #1 2012-08-27 13:36:55
- [SOLVED] No such file or directory, but file exist
- #2 2012-08-27 14:08:52
- Re: [SOLVED] No such file or directory, but file exist
- #3 2012-08-27 14:14:59
- Re: [SOLVED] No such file or directory, but file exist
- #4 2012-08-27 14:17:54
- Re: [SOLVED] No such file or directory, but file exist
- #5 2012-08-27 14:30:28
- Re: [SOLVED] No such file or directory, but file exist
- Arch Linux
- #1 2019-06-13 21:03:42
- [SOLVED]“mount error(2): No such file or directory”
- #2 2019-06-29 07:43:10
- Re: [SOLVED]“mount error(2): No such file or directory”
- #3 2019-06-29 07:47:27
- Re: [SOLVED]“mount error(2): No such file or directory”
- #4 2019-06-29 08:14:38
- Re: [SOLVED]“mount error(2): No such file or directory”
- #5 2019-06-29 09:14:15
- Re: [SOLVED]“mount error(2): No such file or directory”
- [РЕШЕНО] «arch-chroot /mnt» error
- Arch Linux
- #1 2009-08-03 20:56:18
- NFSv4:No such file or directory
- #2 2009-08-03 23:29:40
- Re: NFSv4:No such file or directory
- #3 2009-08-04 07:42:31
- Re: NFSv4:No such file or directory
- #4 2009-08-04 20:50:11
- Re: NFSv4:No such file or directory
- #5 2009-08-04 20:56:23
- Re: NFSv4:No such file or directory
- #6 2009-08-08 12:18:53
- Re: NFSv4:No such file or directory
- #7 2009-08-08 12:33:05
- Re: NFSv4:No such file or directory
- #8 2009-08-09 19:48:51
- Re: NFSv4:No such file or directory
- #9 2009-08-09 19:56:29
- Re: NFSv4:No such file or directory
Arch Linux
You are not logged in.
#1 2014-03-13 18:23:08
[SOLVED] No such file or directory #include
gcc base.c -o base `pkg-config —cflags —libs gtk+-3.0`
gives error «fatal error: gtk/gtk.h: No such file or directory
#include «
Last edited by chanrasjid (2014-03-13 22:37:01)
#2 2014-03-13 18:26:17
Re: [SOLVED] No such file or directory #include
Do you have gtk3 installed?
What is the output of `pacman -Ql gtk3`?
Do you have a /usr/include/gtk-3.0/gtk/gtk.h file?
«UNIX is simple and coherent. » — Dennis Ritchie, «GNU’s Not UNIX» — Richard Stallman
#3 2014-03-13 18:43:50
Re: [SOLVED] No such file or directory #include
Do you have gtk3 installed?
What is the output of `pacman -Ql gtk3`?
Do you have a /usr/include/gtk-3.0/gtk/gtk.h file?
The ouptut is huge:
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellArea.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellAreaBox.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellAreaContext.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellEditable.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellLayout.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellRenderer.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellRendererCombo.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellRendererPixbuf.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellRendererProgress.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellRendererSpin.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellRendererSpinner.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellRendererText.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellRendererToggle.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCellView.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCheckButton.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkCheckMenuItem.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkColorButton.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkColorChooser.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkColorChooserDialog.html
gtk3 /usr/share/gtk-doc/html/gtk3/GtkColorChooserWidget.ht
.
.
The file ‘/usr/include/gtk-3.0/gtk/gtk.h’ exist.
I compiled in my local home directory ‘/home/rasjid’
Best Regards,
Chan Rasjid.
#4 2014-03-13 18:59:38
Re: [SOLVED] No such file or directory #include
Then your compilation command should work. Can you post the output of `pkg-config —cflags —libs gtk+-3.0`
Also, can you post the actual source file you are trying to compile?
«UNIX is simple and coherent. » — Dennis Ritchie, «GNU’s Not UNIX» — Richard Stallman
#5 2014-03-13 19:02:56
Re: [SOLVED] No such file or directory #include
That’s strange. This really should work.
Please post all of the source code that you are trying to compile. (But put it inside [ code ] tags so it’s easy to read.)
What is the output of «pkg-config —cflags —libs gtk+-3.0»?
EDIT: Lol @ Trilby. ARE YOU ME??
Last edited by drcouzelis (2014-03-13 19:03:39)
#6 2014-03-13 19:31:09
Re: [SOLVED] No such file or directory #include
Then your compilation command should work. Can you post the output of `pkg-config —cflags —libs gtk+-3.0`
Also, can you post the actual source file you are trying to compile?
Thanks, problem solved. (How do I mark this post solved?)
‘pkg-config’ was not installed for me; I don’t remember there was any GTK+ development package mentioned.
So now ‘gcc base.c -o base `pkg-config —libs —cflags gtk+-2.0` works.
But 3.0 does not work, has error:
`pkg-config —libs —cflags gtk+-3.0` — but that’s a different problem.
base.c (example from official gnome gtk tutorial site):
int main (int argc, char *argv[])
<
GtkWidget *window;
GtkWidget *label;
/* Create the main, top level window */
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
/* Give it the title */
gtk_window_set_title(GTK_WINDOW(window), «Hello, world!»);
/*
** Map the destroy signal of the window to gtk_main_quit;
** When the window is about to be destroyed, we get a notification and
** stop the main GTK+ loop by returning 0
*/
g_signal_connect(window, «destroy», G_CALLBACK(gtk_main_quit), NULL);
/*
** Assign the variable «label» to a new GTK label,
** with the text «Hello, world!»
*/
label = gtk_label_new(«Hello, world!»);
/* Plot the label onto the main window */
gtk_container_add(GTK_CONTAINER(window), label);
/* Make sure that everything, window and label, are visible */
gtk_widget_show_all(window);
/*
** Start the main loop, and do nothing (block) until
** the application is closed
*/
gtk_main();
Источник
Arch Linux
You are not logged in.
#1 2012-08-27 13:36:55
[SOLVED] No such file or directory, but file exist
Hello unix experts,
In my mind, I have a strange problem, that i can’t understand.
I try to install «sopcast» on my Arch system. I have put a binary application file named «sp-sc-auth» to the directory /usr/bin/.
Now when I want to start this in the terminal, then I get this error message (in german):
But the file ist there.
Last edited by shibby (2012-08-27 14:59:51)
#2 2012-08-27 14:08:52
Re: [SOLVED] No such file or directory, but file exist
Please post the output of
This error often means you’re trying to run a 64-bit binary on a 32-bit system.
#3 2012-08-27 14:14:59
Re: [SOLVED] No such file or directory, but file exist
Ok. Does it mean, that this application does not work on my 64 bit OS?
#4 2012-08-27 14:17:54
Re: [SOLVED] No such file or directory, but file exist
#5 2012-08-27 14:30:28
Re: [SOLVED] No such file or directory, but file exist
There’s no need to «cd» to that directory because /usr/bin is already in $PATH. Seriously, run:
I think you just forgot to set the executable bit:
Don’t forget to mark the topic as solved (by editing the first post).
Edit: Oh, it’s a binary. I thought I was a script. The executable bit should already be set then.
Last edited by DSpider (2012-08-27 14:33:56)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Источник
Arch Linux
You are not logged in.
#1 2019-06-13 21:03:42
[SOLVED]“mount error(2): No such file or directory”
I am attempting to mount my NAS on my Arch machine and receiving the below error:
Not seeing anything in man which helps.
Below is command I am using
I can ping the IP of the NAS. The below command:
returns the below:
Right clicking the directory on the NAS displays the path as being:
Any ideas on what to do next to troubleshoot?
Last edited by ArchArching (2019-07-06 17:37:27)
#2 2019-06-29 07:43:10
Re: [SOLVED]“mount error(2): No such file or directory”
OK I spotted a syntax error, I get little further on using the below:
On entering the NAS password I see the below:
#3 2019-06-29 07:47:27
Re: [SOLVED]“mount error(2): No such file or directory”
Paste the output of `uname -a`. If the kernel version is different to `pacman -Q linux` you have either not rebooted after an upgrade, or your /boot was not mounted for the kernel upgrade and you will need to fix that.
Registered Linux User #482438
#4 2019-06-29 08:14:38
Re: [SOLVED]“mount error(2): No such file or directory”
Paste the output of `uname -a`. If the kernel version is different to `pacman -Q linux` you have either not rebooted after an upgrade, or your /boot was not mounted for the kernel upgrade
Output of uname-a is certainly different `pacman -Q linux`, so different I am left wondering if I am understanding you correctly?
and you will need to fix that.
How do I fix it? I would be surprised if my boot partition was not mounted.
#5 2019-06-29 09:14:15
Re: [SOLVED]“mount error(2): No such file or directory”
Paste the output of `uname -a`. If the kernel version is different to `pacman -Q linux` you have either not rebooted after an upgrade, or your /boot was not mounted for the kernel upgrade and you will need to fix that.
Ah, I see what you mean now. Both commands return linux 5.1.15.arch1-1.
pacman -Q linux = linux 5.1.15.arch1-1
uname -a = Linux arch 5.1.15-arch1-1-ARCH #1 SMP PREEMPT Tue Jun 25 04:49:39 UTC 2019 x86_64 GNU/Linux
Last edited by ArchArching (2019-06-29 09:15:22)
Источник
[РЕШЕНО] «arch-chroot /mnt» error
# 2 года, 11 месяцев назад (отредактировано 2 года, 11 месяцев назад)
Решил установить себе второй осью арч на xiaomi air.
Столкнулся со следующей проблемой (пункт #9)
1. Проверил режим EFI.
2. Подключился к интернету
3. Провел синхронизацию системных часов
4. Разметил диск с помощью cfdisk.
5. Произвел форматирование и подключение:
#root
mkfs.ext4 /dev/sda5 -L «ARCH»
mount /dev/sda5 /mnt
#boot
mkdir -p /mnt/boot
mount /dev/sda2 /mnt/boot
#swap
mkswap /dev/sda6
swapon /dev/sda6
6.Обновил пакеты
pacman -Syy
7.Установил базовую систему и пакет для будущего использования AUR.
pacstrap /mnt base base-devel
8. Генерирую fstab
genfstab -L -p -P /mnt >> /mnt/etc/fstab
(. )9. Пытаюсь перейти в систему
arch-chroot /mnt
и-и-и.. «chroot: failed to run command /bin/bash: No such file or directory»
Собственно, в первый раз установка завершилась некорректно (умерла батарея).
Возможно, проблема в этом.
Читал подобные темы — в них люди пропускали те или иные пункты установки, что решалось банальным следованием инструкции.
Аналогично пробовал листать маны по расформатированию (особых успехов не принесло).
Собственно, прошу помощи в решении проблемы или указании на возможные причины моих ошибок.
UPD:
pacstrap /mnt/ base base-devel скачивает все пакеты, проверяет, после чего выдает ошибку.
error: failed to commit transaction (conflicting files)
amd-ucode: /mnt/boot/amd-ucode.img exists in filesystem.
linux: /mnt/boot/vmlinuz-linux exists in filesystem
P.S. Ставлю Арч вместе с виндой (диск разбивал), в качестве boot — sda2 указывал раздел системный, общий с виндой.
Так понимаю, где-то там остались не удаленные файлы.
Есть ли рекомендации, как попасть в EFI System винды, под который отдельно выделено 100 мб и вычистить файлы с первой неудачной установки?
P.P.S. Устанавливал бут менеджер в первый «неудачный» раз:
pacman -S efibootmgr iw wpa_supplicant dialog
bootctl install
pacman -S intel-ucode
nano /boot/loader/entries/arch.conf
и в нем отредкатировал на
«title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options root=/dev/sda5 rw»
После неудачной установки и попыток новой первым делом в последовательности запуска системы efibootmgr удалил арч.
Неужели проблема в файлах на системном разделе винды? Если да, то как же их убрать?
Источник
Arch Linux
You are not logged in.
#1 2009-08-03 20:56:18
NFSv4:No such file or directory
Hi,
I used to use nfs3 sucessfully but now I upgraded to nfsv4
I followed http://wiki.archlinux.org/index.php/NFSv4 to the letter.
/etc/exports on server:
Now I try to mount /home/hilde on 192.168.1.65:
Oddly enough, there is also this:
Any help appreciated.
and he works prolifically
4 8 15 16 23 42
#2 2009-08-03 23:29:40
Re: NFSv4:No such file or directory
Not to sure but did you run exportfs again on the server?
#3 2009-08-04 07:42:31
Re: NFSv4:No such file or directory
Not to sure but did you run exportfs again on the server?
yeah. I ran exportfs -r -v. (hell I even tried restarting all related daemons and rebooting the server ;-))
I do wonder why I can’t start nfs-common on the client though..
and he works prolifically
4 8 15 16 23 42
#4 2009-08-04 20:50:11
Re: NFSv4:No such file or directory
I was seeing this problem and found that doing «modprobe nfs» on the client before trying to mount solved it.
EDIT: wait, perhaps that was the solution to a different error I was seeing. Another fix I found, perhaps it’s the fix to this problem, was to adjust the /etc/hosts.allow file on the server. Mine now looks like this:
Last edited by Profjim (2009-08-04 20:53:18)
#5 2009-08-04 20:56:23
Re: NFSv4:No such file or directory
I was seeing this problem and found that doing «modprobe nfs» on the client before trying to mount solved it.
EDIT: wait, perhaps that was the solution to a different error I was seeing. Another fix I found, perhaps it’s the fix to this problem, was to adjust the /etc/hosts.allow file on the server. Mine now looks like this:
Ah yes, I had a mistake here. But still this doesn’t change anything client side
thanks for the help
and he works prolifically
4 8 15 16 23 42
#6 2009-08-08 12:18:53
Re: NFSv4:No such file or directory
I just noticed, when I reboot the pc and it mounts the filesystems it says «unknown filesystem:rpc_pipefs» (or something like that), but oddly enough, it did have the filesystem mounted after booting.
So I removed the line from the filesystem and rebooted, and some process seems to automagically mount it, so I guess you don’t need to do it explicitly like http://wiki.archlinux.org/index.php/NFSv4 said.
however, the rest of my problem remains
and he works prolifically
4 8 15 16 23 42
#7 2009-08-08 12:33:05
Re: NFSv4:No such file or directory
Aha i’m now a step further. Apparantly nfs-common is what does the mounting of the rpc_pipefs. If I umount it manually and then start nfs-common on the client, then it wants to start. hooray.
But still..
on server (ip 192.168.1.2)
]# exportfs -r -v
exporting ws:/home/backup
exporting ws:/home/www
exporting ws:/home/dieter
exporting 192.168.1.213:/home/media
exporting 192.168.1.64:/home/media
exporting 192.168.1.213:/home/media/1tbdisk
exporting 192.168.1.65:/home/hilde
exporting 192.168.1.213:/home/backup
exporting 192.168.1.213:/home/www
exporting 192.168.1.213:/home/dieter
exporting 192.168.1.213:/home
exporting 192.168.1.65:/home
on client ( ip 192.168.1.65)
]# mount 192.168.1.2:hilde /home/hilde/server/ -t nfs4
mount.nfs4: mounting 192.168.1.2:hilde failed, reason given by server:
No such file or directory
and he works prolifically
4 8 15 16 23 42
#8 2009-08-09 19:48:51
Re: NFSv4:No such file or directory
FYI my /etc/exports listed the ‘root’ fs (‘/home’) only for another host. I changed it so it also includes the client in question. However, no change (after restarting all daemons)
and he works prolifically
4 8 15 16 23 42
#9 2009-08-09 19:56:29
Re: NFSv4:No such file or directory
]# mount 192.168.1.2:hilde /home/hilde/server/ -t nfs4
mount.nfs4: mounting 192.168.1.2:hilde failed, reason given by server:
No such file or directory
Just grasping at straws.
1. You’ve verified /home/hilde/server/ exists on client machine? (though error report doesn’t seem to indicate any problem with that)
2. Does «mount 192.168.1.2:/hilde /home/hilde/server/ -t nfs4» work?
3. Does «mount 192.168.1.2:/home/hilde /home/hilde/server/ -t nfs4» work?
Though I agree with you that what you’re already trying should work. (Though I’m a NFS newbie myself, so my agreement isn’t worth much here.)
Also, I’ve never tried putting the «-t fstype» options at the end of the mount statement like you do. Are you sure that’s OK? I’ve always done, for example:
Last edited by Profjim (2009-08-09 19:59:06)
Источник